class_docstr: Test case for the optim module.
code: def testDiffOptCorrectness(
      self, _, model_builder, opt_builder, kwargs=None
  ):
      kwargs = {} if kwargs is None else kwargs
      lr = 0.1
      model = model_builder(self)
      opt = opt_builder(model.parameters(), lr=lr, **kwargs)
  
      self._run_correctness_test(opt, model)
  
imports: import unittest
  import copy
  from parameterized import parameterized
  import torch
  from torch import nn, optim
  import higher
label_desc: Use image node_id 2 for calling the TestOptim obj's underlying member method code with example usage: obj.testDiffOptCorrectness(_, model_builder, opt_builder, kwargs) without return types