qbcompiler.configs.resource_management_config.ResourceManagementConfig Class Reference

qbcompiler.configs.resource_management_config.ResourceManagementConfig Class Reference#

Mobilint SDK qb Compiler: qbcompiler.configs.resource_management_config.ResourceManagementConfig Class Reference
Mobilint SDK qb Compiler v1.0
MCS002-EN
qbcompiler.configs.resource_management_config.ResourceManagementConfig Class Reference

Configuration for resource management during model compilation. More...

Inheritance diagram for qbcompiler.configs.resource_management_config.ResourceManagementConfig:

Public Member Functions

 __init__ (self, str weight_dtype, bool use_gpu_only_for_calibration, int weight_memory_method, bool optional=optional)
 Initialize the ResourceManagementConfig.
 default_config (cls)
 from_kwargs (cls, **kwargs)
 from_dict (cls, dict config_dict)
 Create ResourceManagementConfig from dictionary (JSON structure)
 to_dict (self)

Public Attributes

 weight_dtype = weight_dtype
 use_gpu_only_for_calibration = use_gpu_only_for_calibration
 weight_memory_method = weight_memory_method

Static Public Attributes

bool optional = False
dict DEFAULTS
dict py_to_cpp_name
dict min_max_check
list weight_memory_methods

Detailed Description

Configuration for resource management during model compilation.

Definition at line 11 of file resource_management_config.py.


The documentation for this class was generated from the following file: