--enable_single_stream
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
√ |
Description
Sets whether to enable single-stream serial execution of model inference in the static shape scenario.
Streams preserve the order of a stack of asynchronous operations being executed on the device.
See Also
None
Argument
Values:
- true: Enables single-stream serial execution of model inference.
- false (default): Disables single-stream serial execution of model inference and enables multi-stream parallel execution.
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