You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Shared Memory" is enabled by default in ``CompiledModel.__call__``.
49
+
"Shared Memory" on inputs is enabled by default in ``CompiledModel.__call__``.
49
50
For other methods, like ``InferRequest.infer`` or ``InferRequest.start_async``,
50
51
it is required to set the flag to ``True`` manually.
52
+
"Shared Memory" on outputs is disabled by default in all sequential inference methods (``CompiledModel.__call__`` and ``InferRequest.infer``). It is required to set the flag to ``True`` manually.
51
53
52
54
.. warning::
53
55
54
-
When data is being shared, all modifications may affect inputs of the inference!
56
+
When data is being shared, all modifications (including subsequent inference calls) may affect inputs and outputs of the inference!
55
57
Use this feature with caution, especially in multi-threaded/parallel code,
56
58
where data can be modified outside of the function's control flow.
0 commit comments