--enable_attr_compression
Applicable Products
All processors
Description
Specifies whether to enable attribute compression for the graph.
When ATC generates an offline model, the attributes in the graph are automatically compressed to reduce the model size. However, in certain scenarios, decompressing these compressed attributes takes substantial time and may degrade inference performance. For this reason, this option is added to specify whether to enable attribute compression for the graph during offline model generation.
Arguments
- 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