class_docstr: Based on OpenAI Gym version
  (https://github.com/openai/gym/blob/master/gym/envs/classic_control/cartpole.py)
code: def actions(self):
      if self._action_continuous:
          return dict(type="float", shape=())
      elif self._action_noop:
          return dict(type="int", shape=(), num_values=3)
      else:
          return dict(type="int", shape=(), num_values=2)
  
file_path: tensorforce/tensorforce/environments/cartpole.py
imports: import numpy
  from tensorforce.environments import Environment
label_desc: Use image node_id 3 for calling the CartPole obj's underlying member method code with example usage: obj.actions() and returns: dict, dict, dict