class_docstr: Base class for policies based on numpy.
docstr: Reset the policy.
  
  This is effective only to recurrent policies.
  
  do_resets is an array of boolean indicating
  which internal states to be reset. The length of do_resets should be
  equal to the length of inputs, i.e. batch size.
  
  Args:
      do_resets (numpy.ndarray): Bool array indicating which states
          to be reset.
docstr_tok: ["Reset","the","policy",".","This","is","effective","only","to","recurrent","policies",".","do_resets","is","an","array","of","boolean","indicating","which","internal","states","to","be","reset",".","The","length","of","do_resets","should","be","equal","to","the","length","of","inputs",",","i.e",".","batch","size",".","Args",":","do_resets","(","numpy.ndarray",")",":","Bool","array","indicating","which","states","to","be","reset","."]
code: def reset(self, do_resets=None):
      """Reset the policy.
  
      This is effective only to recurrent policies.
  
      do_resets is an array of boolean indicating
      which internal states to be reset. The length of do_resets should be
      equal to the length of inputs, i.e. batch size.
  
      Args:
          do_resets (numpy.ndarray): Bool array indicating which states
              to be reset.
  
      """
  
file_path: garage/src/garage/np/policies/policy.py
imports: import abc
label_desc: Use image node_id 3 for calling the Policy obj's underlying member method code with example usage: obj.reset(do_resets) without return types