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

Method parse_runtime

official/core/train_utils.py:338–346  ·  view source on GitHub ↗

Override the runtime configs of params from flags.

(self, params)

Source from the content-addressed store, hash-verified

336 return params
337
338 def parse_runtime(self, params):
339 """Override the runtime configs of params from flags."""
340 # Override the TPU address and tf.data service address.
341 params.override({
342 'runtime': {
343 'tpu': self._flags_obj.tpu,
344 },
345 })
346 return params
347
348 def parse_data_service(self, params):
349 """Override the data service configs of params from flags."""

Callers 1

parseMethod · 0.95

Calls 1

overrideMethod · 0.80

Tested by

no test coverage detected