class_docstr: Cast observations to a given type.
  
  Args:
      env: Env to wrap.
      dtype: Data type object.
  
  Attributes:
      original_observation: Observation before casting.
code: def __init__(self, env, dtype):
      super().__init__(env)
      self.dtype = dtype
  
file_path: pfrl/pfrl/wrappers/cast_observation.py
imports: import gym
  import numpy
label_desc: Use image node_id 1 to create a new CastObservation object from inherited base classes: gym with example: obj = CastObservation(env, dtype)