/external/tensorflow/tensorflow/python/training/ |
training_util.py | 44 @tf_export('train.global_step') 45 def global_step(sess, global_step_tensor): function 49 # Creates a variable to hold the global_step. 50 global_step_tensor = tf.Variable(10, trainable=False, name='global_step') 54 print('global_step: %s' % tf.train.global_step(sess, global_step_tensor)) 56 global_step: 10 77 in the collection `GLOBAL_STEP`, or by name `global_step:0`. 91 global_step_tensors = graph.get_collection(ops.GraphKeys.GLOBAL_STEP) [all...] |
supervisor.py | 203 # and 'global_step' parameters of Supervisor.__init__() to indicate that 220 global_step=USE_DEFAULT, 272 global_step: An integer Tensor of size 1 that counts steps. The value 273 from 'global_step' is used in summaries and checkpoint filenames. 274 Default to the op named 'global_step' in the graph if it exists, is of 320 self._init_global_step(global_step=global_step) 485 def _init_global_step(self, global_step=USE_DEFAULT): 486 """Initializes global_step. 489 global_step: An integer Tensor of size 1 that counts steps. I 590 def global_step(self): member in class:Supervisor [all...] |
/external/tensorflow/tensorflow/core/debug/ |
debug_io_utils.cc | 325 const int64 global_step, const int64 session_run_index, 334 oss << "\"global_step\":" << global_step << ","; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
training_ops.cc | 117 typename TTypes<T>::ConstScalar lr, int64 global_step, 134 var.constant(static_cast<float>(global_step)) * var.constant(l1())) 137 var.constant(static_cast<float>(global_step) * lr()) + 143 var.constant(static_cast<float>(global_step) * lr()) + 1608 const Tensor& global_step = ctx->input(7); variable 1713 const Tensor& global_step = ctx->input(8); variable [all...] |