class_docstr: Base class for policies based on numpy.
docstr: Get action sampled from the policy.
  
  Args:
      observation (np.ndarray): Observation from the environment.
  
  Returns:
      Tuple[np.ndarray, dict[str,np.ndarray]]: Actions and extra agent
          infos.
docstr_tok: ["Get","action","sampled","from","the","policy",".","Args",":","observation","(","np.ndarray",")",":","Observation","from","the","environment",".","Returns",":","Tuple","[","np.ndarray",",","dict","[","str",",","np.ndarray","]","]",":","Actions","and","extra","agent","infos","."]
code: def get_action(self, observation):
      """Get action sampled from the policy.
  
      Args:
          observation (np.ndarray): Observation from the environment.
  
      Returns:
          Tuple[np.ndarray, dict[str,np.ndarray]]: Actions and extra agent
              infos.
  
      """
  
file_path: garage/src/garage/np/policies/policy.py
imports: import abc
label_desc: Use image node_id 1 for calling the Policy obj's underlying member method code with example usage: obj.get_action(observation) without return types