tfm.core.train_utils.ExperimentParser

Constructs the Experiment config from Flags or equivalent object.

Most of the cases, users only need to call the parse() function:

builder = ExperimentParser(FLAGS)
params = builder.parse()

The advanced users can modify the flow by calling the parse_*() functions separately.

Methods

base_experiment

View source

Get the base experiment config from --experiment field.

parse

View source

Overrall process of constructing Experiment config.

parse_config_file

View source

Override the configs of params from the config_file.

parse_data_service

View source

Override the data service configs of params from flags.

parse_params_override

View source

parse_runtime

View source

Override the runtime configs of params from flags.