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","."]
code: def __init__(self, env_spec, name):
      super().__init__()
      self._env_spec = env_spec
      self._name = name
  
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 1 to create a new Policy object from inherited base classes: torch.nn, BasePolicy, abc with example: obj = Policy(env_spec, name)