class_docstr: Converts discrete action to one_hot format.
code: def __init__(self, env):
      super(OneHotActionWrapper, self).__init__(env)
      self._validate_action_spec()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from tf_agents.environments import tf_environment
  from tf_agents.specs import tensor_spec
label_desc: Use image node_id 1 to create a new OneHotActionWrapper object from inherited base classes: TFEnvironmentBaseWrapper with example: obj = OneHotActionWrapper(env)