class_docstr: Tests keywords, multiple arguments, and non-training arguments in relevant optimizers
code: def reset(opt):
      if getattr(opt, "reset", None):
          opt.reset()
  
file_path: pennylane/tests/optimize/test_optimize.py
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.optimize import GradientDescentOptimizer, MomentumOptimizer, NesterovMomentumOptimizer, AdagradOptimizer, RMSPropOptimizer, AdamOptimizer
label_desc: Use image node_id 8 for calling the TestOverOpts obj's underlying member method code with example usage: obj.reset(opt) without return types