--enable_attr_compression
Applicability
Product |
Supported (Yes/No) |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Specifies whether to compress the attributes in the graph.
When the ATC tool is used to generate an offline model, the attributes in the graph are automatically compressed to reduce the model size. However, in some scenarios, the decompression of compressed attributes is time-consuming, which may affect the inference performance. Therefore, this option is added to control whether to compress the graph attributes when an offline model is generated.
See Also
None
Argument
- false: The attributes in the graph are not compressed when an offline model is generated.
- true (default): The attributes in the graph are automatically compressed when an offline model is generated.
Suggestions and Benefits
None
Example
--enable_attr_compression=true
Parent topic: Model Tuning Options