Home
last modified time | relevance | path

Searched refs:get_step (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/contrib/distribute/python/
Dparameter_server_strategy_test.py881 get_step = training_util.get_global_step()
882 self.assertEqual(created_step, get_step,
885 id(get_step), get_step.__class__.__name__)))
887 self.assertIs(values.AggregatingVariable, type(get_step))
897 get_step = training_util.get_global_step()
898 self.assertEqual(created_step, get_step,
901 id(get_step), get_step.__class__.__name__)))
903 self.assertIs(resource_variable_ops.ResourceVariable, type(get_step))
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_ops_test.py413 self.assertIsNone(summary_ops.get_step())
416 self.assertAllEqual(1, summary_ops.get_step())
418 self.assertAllEqual(2, summary_ops.get_step())
428 self.assertAllEqual(0, summary_ops.get_step().read_value())
430 self.assertAllEqual(1, summary_ops.get_step().read_value())
433 self.assertAllEqual(1, summary_ops.get_step().read_value())
434 summary_ops.get_step().assign_add(1)
435 self.assertAllEqual(2, summary_ops.get_step().read_value())
446 return summary_ops.get_step()
449 summary_ops.get_step().assign_add(1)
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.summary.experimental.pbtxt4 name: "get_step"
/external/tensorflow/tensorflow/python/ops/
Dsummary_ops_v2.py146 def get_step(): function
619 step = get_step()