class_docstr: Cast actions to a given type.
code: def __init__(self, env, type_):
      super().__init__(env)
      self.type_ = type_
  
imports: import argparse
  import functools
  import os
  import chainer
  from chainer import functions
  from chainer import links
  from chainer import optimizers
  import gym
  import gym.spaces
  import numpy
  import chainerrl
  from chainerrl.action_value import DiscreteActionValue
  from chainerrl import experiments
  from chainerrl import explorers
  from chainerrl import misc
  from chainerrl import replay_buffer
label_desc: Use image node_id 1 to create a new CastAction object from inherited base classes: gym with example: obj = CastAction(env, type_)