ascend_global_hashtable_collection
Function
Obtains and modifies the name of a hash table set.
Prototype
1 2 3 4 5 6 7 8 | # Obtain the name of a hash table set. @property def ascend_global_hashtable_collection(self): return self._ascend_global_hashtable_collection # Modify the name of a hash table set. @ascend_global_hashtable_collection.setter def ascend_global_hashtable_collection(self, name): self._ascend_global_hashtable_collection = name |
Parameters
Parameter |
Type |
Mandatory/Optional |
Description |
|---|---|---|---|
name |
string |
Optional |
New name of the hash table set. The name consists of 1 to 255 characters. |
Return Value
- Success: None
- Failure: An exception is thrown.
Example
1 2 3 4 5 6 | # Obtain the name of a hash table set. from mx_rec.util.initialize import ConfigInitializer hashtable_collection = ConfigInitializer.get_instance().train_params_config.ascend_global_hashtable_collection # Modify the name of a hash table set. from mx_rec.util.initialize import ConfigInitializer ConfigInitializer.get_instance().train_params_config.ascend_global_hashtable_collection = "test" |
Parent topic: Other APIs