--enable_single_stream
Applicable Products
Ascend 950PR /Ascend 950DT : supportedAtlas A3 training products /Atlas A3 inference products : supportedAtlas A2 training products /Atlas A2 inference products : supportedAtlas 200I/500 A2 inference products : not supportedAtlas inference products : supportedAtlas training products : supported
Description
Specifies whether to enable in-order single-stream serial execution of model inference in static-shape scenarios.
Streams preserve the order of a stack of asynchronous operations being executed on the device.
See Also
None
Arguments
Values:
- true: Enables in-order single-stream serial execution of model inference.
- false (default): Disables in-order single-stream serial execution of model inference.
Restrictions:
If the model contains the Cmo operator and the following control operators, the single-stream feature cannot be used. In this case, use the default value false.
- Merge
- Switch
- Enter
- RefEnter
Suggestions and Benefits
None
Example
--enable_single_stream=true
Restrictions
None
Parent topic: Model Tuning Options