class_docstr: Abstract class for batch of environments inside the TensorFlow graph.
    
class_docstr_tok: ["Abstract","class","for","batch","of","environments","inside","the","TensorFlow","graph","."]
docstr: Reset the batch of environments.
  
  Args:
    indices: The batch indices of the environments to reset.
  
  Returns:
    Batch tensor of the new observations.
docstr_tok: ["Reset","the","batch","of","environments",".","Args",":","indices",":","The","batch","indices","of","the","environments","to","reset",".","Returns",":","Batch","tensor","of","the","new","observations","."]
code: def reset(self, indices=None):
      """Reset the batch of environments.
  
      Args:
        indices: The batch indices of the environments to reset.
  
      Returns:
        Batch tensor of the new observations.
      """
      return tf.cond(
          tf.cast(tf.reduce_sum(indices + 1), tf.bool),
          lambda: self._reset_non_empty(indices),
          lambda: tf.cast(0, self.observ_dtype),
      )
  
file_path: tensor2tensor/tensor2tensor/rl/envs/in_graph_batch_env.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import gym
  import tensorflow.compat.v1
label_desc: Use image node_id 6 for calling the InGraphBatchEnv obj's underlying member method code with example usage: obj.reset(indices) and returns: tf