sciai.utils.parse_arg

View Source On Gitee
sciai.utils.parse_arg(config)[source]

Parse arguments according to terminal/bash inputs and config dictionary.

Parameters

config (dict) – Configuration dictionary.

Returns

Union(Namespace, object), Representation of configurations in Namespace or object.