Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/distribute/python/
Dcombinations.py330 def _get_tpu_strategy_creator(steps_per_run, use_single_core=False, **kwargs): argument
340 strategy = tpu_lib.TPUStrategy(resolver, steps_per_run=steps_per_run,
359 "TPU", _get_tpu_strategy_creator(steps_per_run=2),
362 "TPUOneStep", _get_tpu_strategy_creator(steps_per_run=1),
366 steps_per_run=2, use_single_core=True),
370 steps_per_run=1, use_single_core=True),
Dkeras_utils_test.py99 steps_per_run = distribution.extended.steps_per_run
100 num_batch_call_per_epoch = steps_per_epoch // steps_per_run
101 if steps_per_epoch % steps_per_run:
518 distribution.extended.steps_per_run > 1):
Dkeras_correctness_test_base.py293 distribution.extended.steps_per_run > 1):
469 distribution.extended.steps_per_run > 1):
473 update_freq = distribution.extended.steps_per_run
Dmetrics_v1_test.py107 step_fn, iterator, iterations=distribution.extended.steps_per_run)
114 distribution.extended.steps_per_run)
Dkeras_backward_compat_test.py1074 distribution.extended.steps_per_run > 1):
Dkeras_test.py961 distribution.extended.steps_per_run != 1):
/external/tensorflow/tensorflow/python/distribute/
Dtpu_strategy.py130 steps_per_run=None, argument
147 self, tpu_cluster_resolver, steps_per_run, device_assignment))
150 def steps_per_run(self): member in TPUStrategy
152 return self._extended.steps_per_run
198 steps_per_run=None, argument
205 if steps_per_run is None:
208 steps_per_run = 1
251 self.steps_per_run = steps_per_run
348 if self.steps_per_run == 1:
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_distributed.py314 if (current_strategy.extended.steps_per_run != 1 and
338 current_strategy.extended.steps_per_run)
340 iteration_value = current_strategy.extended.steps_per_run
342 steps_per_run = K.variable(
347 step_fn, iterator, iterations=steps_per_run,
369 steps_to_run = ([current_strategy.extended.steps_per_run] *
371 current_strategy.extended.steps_per_run))
372 if steps_per_epoch % current_strategy.extended.steps_per_run:
374 steps_per_epoch % current_strategy.extended.steps_per_run)
392 steps_per_run.load(step_count, K.get_session())
Dtraining.py147 if (self._distribution_strategy.extended.steps_per_run > 1 and
/external/tensorflow/tensorflow/python/training/
Dbasic_session_run_hooks.py315 def __init__(self, num_steps=None, last_step=None, steps_per_run=1): argument
343 if steps_per_run is None or steps_per_run < 1:
347 self._steps_per_run_initial_value = steps_per_run
539 def _set_steps_per_run(self, steps_per_run): argument
540 self._steps_per_run = steps_per_run
659 def _set_steps_per_run(self, steps_per_run): argument
660 self._steps_per_run = steps_per_run
Devaluation.py84 def __init__(self, num_evals, steps_per_run=1): argument
94 self._steps_per_run_initial_value = steps_per_run
Dbasic_session_run_hooks_test.py786 self.steps_per_run = 5
790 self.train_op = training_util._increment_global_step(self.steps_per_run)
799 save_steps=2*self.steps_per_run,
801 hook._set_steps_per_run(self.steps_per_run)
816 save_steps=2*self.steps_per_run,
818 hook._set_steps_per_run(self.steps_per_run)
858 save_steps=2*self.steps_per_run,
860 hook._set_steps_per_run(self.steps_per_run)
1039 steps_per_run,
1043 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.pbtxt15 name: "steps_per_run"
20 …argspec: "args=[\'self\', \'tpu_cluster_resolver\', \'steps_per_run\', \'device_assignment\'], var…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.distribute.experimental.-t-p-u-strategy.pbtxt15 name: "steps_per_run"
20 …argspec: "args=[\'self\', \'tpu_cluster_resolver\', \'steps_per_run\', \'device_assignment\'], var…
/external/tensorflow/tensorflow/python/tpu/
Dasync_checkpoint.py85 def _set_steps_per_run(self, steps_per_run): argument
86 self._steps_per_run = steps_per_run