Home
last modified time | relevance | path

Searched refs:last_step (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dgraph_actions.py322 last_step = start_step
325 logging.info('Training steps [%d,%s)', last_step, 'inf'
331 (max_steps is None) or (last_step < max_steps)):
336 session, last_step + 1, [train_op, loss_op], feed_dict, monitors)
352 if this_step <= last_step:
355 ': new step %d', last_step, this_step)
357 last_step = this_step
358 is_last_step = (max_steps is not None) and (last_step >= max_steps)
359 if is_last_step or (last_step - last_log_step >= log_every_steps):
362 last_step, loss_value, float(time.time() - start_time))
[all …]
Dmonitors.py387 def __init__(self, num_steps=None, last_step=None): argument
407 if num_steps is None and last_step is None:
409 if num_steps is not None and last_step is not None:
412 self._last_step = last_step
Dmonitors_test.py591 learn.monitors.StopAtStep(num_steps=10, last_step=20)
594 m = learn.monitors.StopAtStep(last_step=10)
/external/tensorflow/tensorflow/python/training/
Dbasic_session_run_hooks.py315 def __init__(self, num_steps=None, last_step=None, steps_per_run=1): argument
339 if num_steps is None and last_step is None:
341 if num_steps is not None and last_step is not None:
346 self._last_step = last_step
380 def __init__(self, num_steps=None, last_step=None): argument
399 if num_steps is None and last_step is None:
401 if num_steps is not None and last_step is not None:
404 self._last_step = last_step
586 last_step = session.run(self._global_step_tensor)
587 if last_step != self._timer.last_triggered_step():
[all …]
Dsupervisor_test.py124 last_step = None
128 last_step = step
135 self.assertEqual(1, last_step)
142 last_step = None
145 last_step = step
153 self.assertEqual(3, last_step)
Dbasic_session_run_hooks_test.py149 basic_session_run_hooks.StopAtStepHook(num_steps=10, last_step=20)
152 h = basic_session_run_hooks.StopAtStepHook(last_step=10)
Dmonitored_session_test.py1436 hooks = [basic_session_run_hooks.StopAtStepHook(last_step=3)]
1455 hooks = [basic_session_run_hooks.StopAtStepHook(last_step=5)]
/external/tensorflow/tensorflow/python/tpu/
Dasync_checkpoint.py140 last_step = session.run(self._global_step_tensor)
142 if self._last_checkpoint_step != last_step:
143 self._save(session, last_step, asynchronous=False)
146 l.end(session, last_step)
Dtpu_estimator.py621 def __init__(self, iterations, num_steps=None, last_step=None): argument
632 if num_steps is None and last_step is None:
634 if num_steps is not None and last_step is not None:
637 self._last_step = last_step
640 def _next_iterations(self, global_step, last_step): argument
641 gap = last_step - global_step
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/
Dfeature_provider.cc45 const int last_step = (last_time_in_ms / kFeatureSliceStrideMs); in PopulateFeatureData() local
48 int slices_needed = current_step - last_step; in PopulateFeatureData()
/external/tensorflow/tensorflow/contrib/tensor_forest/client/
Drandom_forest.py80 self.last_step = -1
99 if self.last_step == -1 or self.last_step > current_step:
101 self.last_step = current_step
106 self.last_step = current_step
/external/tensorflow/tensorflow/contrib/integrate/python/ops/
Dodes.py216 def _optimal_step_size(last_step, argument
224 with ops.name_scope(name, 'optimal_step_size', [last_step,
226 error_ratio = math_ops.cast(error_ratio, last_step.dtype)
227 exponent = math_ops.cast(1 / order, last_step.dtype)
233 return math_ops.div(last_step, factor, name=scope)
Dodes_test.py197 last_step=constant_op.constant(1.0),
205 last_step=constant_op.constant(1.0),
213 last_step=constant_op.constant(1.0),
/external/javasqlite/src/main/java/SQLite/
DFunction.java57 public void last_step(FunctionContext fc); in last_step() method
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.estimator.-stop-at-step-hook.pbtxt8 …argspec: "args=[\'self\', \'num_steps\', \'last_step\'], varargs=None, keywords=None, defaults=[\'…
Dtensorflow.estimator.experimental.pbtxt33 …argspec: "args=[\'estimator\', \'last_step\', \'wait_after_file_check_secs\'], varargs=None, keywo…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.estimator.-stop-at-step-hook.pbtxt8 …argspec: "args=[\'self\', \'num_steps\', \'last_step\'], varargs=None, keywords=None, defaults=[\'…
Dtensorflow.train.-stop-at-step-hook.pbtxt8 …argspec: "args=[\'self\', \'num_steps\', \'last_step\'], varargs=None, keywords=None, defaults=[\'…
Dtensorflow.estimator.experimental.pbtxt33 …argspec: "args=[\'estimator\', \'last_step\', \'wait_after_file_check_secs\'], varargs=None, keywo…
/external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/
Dcifar10_train.py116 hooks=[tf.train.StopAtStepHook(last_step=FLAGS.max_steps),