class_docstr: Gym environment interface for Batched Environments (with batch size 1).
code: def __init__(self, batch_env):
      if batch_env.batch_size != 1:
          raise ValueError(
              "Number of environments in batch must be equal to one"
          )
      self.batch_env = batch_env
      self.action_space = self.batch_env.action_space
      self.observation_space = self.batch_env.observation_space
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from gym import Env
  import numpy
  from tensor2tensor.rl.envs.simulated_batch_env import SimulatedBatchEnv
  import tensorflow.compat.v1
label_desc: Use image node_id 1 to create a new FlatBatchEnv object from inherited base classes: Env with example: obj = FlatBatchEnv(batch_env)