class_docstr: Cartpole environment with masked velocity components.
  
  This environment is useful as a unit tests for agents that utilize recurrent
  networks.
class_docstr_tok: ["Cartpole","environment","with","masked","velocity","components",".","This","environment","is","useful","as","a","unit","tests","for","agents","that","utilize","recurrent","networks","."]
code: def reset(self):
      observation = super(MaskedCartPoleEnv, self).reset()
      # Get rid of velocity components at index 1, and 3.
      return self._mask_observation(observation)
  
file_path: agents/tf_agents/environments/examples/masked_cartpole.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import gym
  from gym.envs.classic_control import cartpole
  from gym.envs.registration import register
  import numpy
label_desc: Use image node_id 3 for calling the MaskedCartPoleEnv obj's underlying member method code with example usage: obj.reset() and returns: self