gnes.base package¶
Module contents¶
-
class
gnes.base.
TrainableBase
(*args, **kwargs)[source]¶ Bases:
object
The base class for preprocessor, encoder, indexer and router
-
dump
(filename=None)[source]¶ Serialize the object to a binary file
Parameters: filename ( Optional
[str
]) – file path of the serialized file, if not given thendump_full_path
is usedReturn type: None
-
dump_full_path
¶ Get the binary dump path
Returns:
-
dump_yaml
(filename=None)[source]¶ Serialize the object to a yaml file
Parameters: filename ( Optional
[str
]) – file path of the yaml file, if not given thendump_yaml_path
is usedReturn type: None
-
store_args_kwargs
= False¶
-
yaml_full_path
¶ Get the file path of the yaml config
Returns:
-