class_docstr: Test case for the optim module.
code: def _approx_equal_params(params_1, params_2):
      params_1 = list(params_1)
      params_2 = list(params_2)
      if len(params_1) != len(params_2):
          return False
      for p1, p2 in zip(params_1, params_2):
          if not torch.allclose(p1, p2):
              return False
      return True
  
imports: import unittest
  import copy
  from parameterized import parameterized
  import torch
  from torch import nn, optim
  import higher
label_desc: Use image node_id 7 for calling the TestOptim obj's underlying member method code with example usage: obj._approx_equal_params(params_1, params_2) and returns: True, False, False