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: Set the parameters to the policy.
  
  This method is included to ensure consistency with TF policies.
  
  Args:
      state_dict (dict): State dictionary.
docstr_tok: ["Set","the","parameters","to","the","policy",".","This","method","is","included","to","ensure","consistency","with","TF","policies",".","Args",":","state_dict","(","dict",")",":","State","dictionary","."]
code: def set_param_values(self, state_dict):
      """Set the parameters to the policy.
  
      This method is included to ensure consistency with TF policies.
  
      Args:
          state_dict (dict): State dictionary.
  
      """
      self.load_state_dict(state_dict)
  
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 5 for calling the Policy obj's underlying member method code with example usage: obj.set_param_values(state_dict) without return types