class_docstr: Base wrapper forwarding the DM control types into the tf_agents ones.
class_docstr_tok: ["Base","wrapper","forwarding","the","DM","control","types","into","the","tf_agents","ones","."]
code: def __init__(self, env, render_kwargs=None):
      super(DmControlWrapper, self).__init__(env)
      render_kwargs = render_kwargs or {}
      self._render_kwargs = render_kwargs
  
      self._observation_spec = tf.nest.map_structure(
          convert_spec, self._env.observation_spec()
      )
      self._action_spec = tf.nest.map_structure(
          convert_spec, self._env.action_spec()
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import numpy
  import tensorflow
  from tf_agents.environments import wrappers
  from tf_agents.specs import array_spec
  from tf_agents.trajectories import time_step
label_desc: Use image node_id 1 to create a new DmControlWrapper object from inherited base classes: wrappers with example: obj = DmControlWrapper(env, render_kwargs)