xnn.common.config.options.model_options#
- xnn.common.config.options.model_options(cfg)[source]#
The options of a model config, for a
from_configto read.A copy, so that the caller may change it; inside
build_model()the reads are recorded, so that unused options can be reported.- Parameters:
cfg (ModelConfig) – The model configuration.
- Returns:
cfg.extra(empty whenNone).- Return type: