Home
last modified time | relevance | path

Searched refs:steps_per_run (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Dstrategy_combinations.py76 def _get_tpu_strategy_creator(steps_per_run, argument
123 strategy = tpu_lib.TPUStrategyV1(resolver, steps_per_run,
356 "TPU", _get_tpu_strategy_creator(steps_per_run=2), required_tpu=True)
359 _get_tpu_strategy_creator(steps_per_run=2, enable_packed_variable=True),
364 steps_per_run=2, enable_spmd_xla_paritioning=True),
367 "TPUOneStep", _get_tpu_strategy_creator(steps_per_run=1), required_tpu=True)
370 _get_tpu_strategy_creator(steps_per_run=2, use_single_core=True),
374 _get_tpu_strategy_creator(steps_per_run=1, use_single_core=True),
378 _get_tpu_strategy_creator(steps_per_run=2),
Dtpu_strategy.py742 steps_per_run=None, argument
759 self, tpu_cluster_resolver, steps_per_run, device_assignment))
771 def steps_per_run(self): member in TPUStrategyV1
773 return self._extended.steps_per_run
845 steps_per_run=None, argument
853 if steps_per_run is None:
856 steps_per_run = 1
910 self.steps_per_run = steps_per_run
1109 if self.steps_per_run == 1:
Dmetrics_v1_test.py106 step_fn, iterator, iterations=distribution.extended.steps_per_run)
113 distribution.extended.steps_per_run)
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_distributed_v1.py163 current_strategy.extended.steps_per_run)
164 steps_per_run = backend.variable(
189 step_fn, iterator, iterations=steps_per_run,
210 steps_to_run = ([current_strategy.extended.steps_per_run] *
212 current_strategy.extended.steps_per_run))
213 if steps_per_epoch % current_strategy.extended.steps_per_run:
215 steps_per_epoch % current_strategy.extended.steps_per_run)
234 backend.get_session().run(steps_per_run.assign(step_count))
Dtraining.py2306 if (self._distribution_strategy.extended.steps_per_run > 1 and
Dtraining_v1.py228 if (self._distribution_strategy.extended.steps_per_run > 1 and
/external/tensorflow/tensorflow/python/training/
Dbasic_session_run_hooks.py331 def __init__(self, num_steps=None, last_step=None, steps_per_run=1): argument
359 if steps_per_run is None or steps_per_run < 1:
363 self._steps_per_run_initial_value = steps_per_run
573 def _set_steps_per_run(self, steps_per_run): argument
574 self._steps_per_run = steps_per_run
694 def _set_steps_per_run(self, steps_per_run): argument
695 self._steps_per_run = steps_per_run
Devaluation.py80 def __init__(self, num_evals, steps_per_run=1): argument
90 self._steps_per_run_initial_value = steps_per_run
Dbasic_session_run_hooks_test.py823 self.steps_per_run = 5
827 self.train_op = training_util._increment_global_step(self.steps_per_run)
836 save_steps=2*self.steps_per_run,
838 hook._set_steps_per_run(self.steps_per_run)
853 save_steps=2*self.steps_per_run,
855 hook._set_steps_per_run(self.steps_per_run)
895 save_steps=2*self.steps_per_run,
897 hook._set_steps_per_run(self.steps_per_run)
1075 steps_per_run,
1079 self.train_op = training_util._increment_global_step(steps_per_run)
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distribute.experimental.-t-p-u-strategy.pbtxt20 name: "steps_per_run"
25 …argspec: "args=[\'self\', \'tpu_cluster_resolver\', \'steps_per_run\', \'device_assignment\'], var…
/external/tensorflow/tensorflow/python/tpu/
Dasync_checkpoint.py90 def _set_steps_per_run(self, steps_per_run): argument
91 self._steps_per_run = steps_per_run