ConfigInitializer
Management class for saving global configuration information in singleton mode.
This class is automatically initialized by using the init () function and does not need to be manually built. This section lists only the public APIs of this class. The remaining APIs are for internal use only and are not recommended for direct calling.
Calling Example
API |
Description |
Prototype |
|---|---|---|
get_instance() |
Obtains the globally unique instance of ConfigInitializer. |
from mx_rec.util.initialize import ConfigInitializer ConfigInitializer.get_instance() |
use_dynamic_expansion() |
||
get_target_batch() |
||
if_load() |
||
get_initializer(is_training) |
||
ascend_global_hashtable_collection() |
||
Parent topic: Class Reference