neuralmonkey.config.configuration module

class neuralmonkey.config.configuration.Configuration

Bases: object

Configuration loader.

Loads the configuration file in an analogical way the python’s argparse.ArgumentParser works.

__init__()

Initialize self. See help(type(self)) for accurate signature.

add_argument(name: str, required: bool = False, default: Any = None, cond: Callable[[Any], bool] = None) → None
build_model(warn_unused=False) → None
ignore_argument(name: str) → None
load_file(path: str, changes: Union[List[str], NoneType] = None) → None
make_namespace(d_obj) → argparse.Namespace
save_file(path: str) → None