MCPcopy Index your code
hub / github.com/tensorflow/models / parse_config_file

Method parse_config_file

official/core/train_utils.py:331–336  ·  view source on GitHub ↗

Override the configs of params from the config_file.

(self, params)

Source from the content-addressed store, hash-verified

329 return exp_factory.get_exp_config(self._flags_obj.experiment)
330
331 def parse_config_file(self, params):
332 """Override the configs of params from the config_file."""
333 for config_file in self._flags_obj.config_file or []:
334 params = hyperparams.override_params_dict(
335 params, config_file, is_strict=True)
336 return params
337
338 def parse_runtime(self, params):
339 """Override the runtime configs of params from flags."""

Callers 2

parseMethod · 0.95
load_modelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected