title: How to print the current evaluation step during tensorflow evaluation?
body: <p>I am trying to get current batch index of tensorflow evaluation, but it does not work. My code is about evaluation image classifier.</p>
  
  <pre><code>def _create_local(name, shape, collections=None, validate_shape=True,
                    dtype=tf.float32):
      """Creates a new local variable.
      Args:
        name: The name of the new or existing variable.
        shape: Shape of the new or existing variable.
        collections: A list of collection names to which the Variable will be added.
        validate_shape: Whether to validate the shape of the variable.
        dtype: Data type of the variables.
      Returns:
        The created variable.
      """
      # Make sure local variables are added to tf.GraphKeys.LOCAL_VARIABLES
      collections = list(collections or [])
      collections += [tf.GraphKeys.LOCAL_VARIABLES]
      return variables.Variable(
          initial_value=tf.zeros(shape, dtype=dtype),
          name=name,
          trainable=False,
          collections=collections,
          validate_shape=validate_shape)
  </code></pre>
  
  <p>My Evaluation Function:</p>
  
  <pre><code>def _get_evaluation(channel):
      with tf.name_scope("eval"):
          result = _create_local('result_list', shape=[10, 4],dtype=tf.float32)
          #my codes
          # current evaluation step
          currrent_step = tf.range(result[-1,-1], result[-1,-1] + FLAGS.batch_size) 
  
      return currrent_step
  </code></pre>