class_docstr: Policy base class.
  
  Args:
      env_spec (EnvSpec): Environment specification.
      name (str): Name of policy.
class_docstr_tok: ["Policy","base","class",".","Args",":","env_spec","(","EnvSpec",")",":","Environment","specification",".","name","(","str",")",":","Name","of","policy","."]
docstr: Get actions given observations.
  
  Args:
      observations (np.ndarray): Observations from the environment.
  
  Returns:
      Tuple[np.ndarray, dict[str,np.ndarray]]: Actions and extra agent
          infos.
docstr_tok: ["Get","actions","given","observations",".","Args",":","observations","(","np.ndarray",")",":","Observations","from","the","environment",".","Returns",":","Tuple","[","np.ndarray",",","dict","[","str",",","np.ndarray","]","]",":","Actions","and","extra","agent","infos","."]
code: def get_actions(self, observations):
      """Get actions given observations.
  
      Args:
          observations (np.ndarray): Observations from the environment.
  
      Returns:
          Tuple[np.ndarray, dict[str,np.ndarray]]: Actions and extra agent
              infos.
  
      """
  
file_path: garage/src/garage/torch/policies/policy.py
imports: import abc
  import torch
  from garage.np.policies import Policy
label_desc: Use image node_id 3 for calling the Policy obj's underlying member method code with example usage: obj.get_actions(observations) without return types