code: def test_opt(self):
      self.assertEqual(
          repr(objax.optimizer.Adam(objax.VarCollection())),
          "objax.optimizer.Adam(beta1=0.9, beta2=0.999, eps=1e-08)",
      )
      self.assertEqual(
          repr(objax.optimizer.LARS(objax.VarCollection())),
          "objax.optimizer.LARS(momentum=0.9, weight_decay=0.0001, tc=0.001, eps=1e-05)",
      )
      self.assertEqual(
          repr(objax.optimizer.Momentum(objax.VarCollection())),
          "objax.optimizer.Momentum(momentum=0.9, nesterov=False)",
      )
      self.assertEqual(
          repr(objax.optimizer.SGD(objax.VarCollection())),
          "objax.optimizer.SGD()",
      )
      self.assertEqual(
          repr(
              objax.optimizer.ExponentialMovingAverage(
                  objax.VarCollection()
              )
          ),
          "objax.optimizer.ExponentialMovingAverage(momentum=0.999, debias=False, eps=1e-06)",
      )
      self.assertEqual(
          repr(
              objax.optimizer.ExponentialMovingAverageModule(
                  objax.Module()
              )
          ),
          "objax.optimizer.ExponentialMovingAverageModule(momentum=0.999, debias=False, eps=1e-06)",
      )
  
file_path: objax/tests/repr.py
imports: import functools
  import unittest
  import jax.numpy
  import objax
label_desc: Use image node_id 4 for calling the TestRepr obj's underlying member method code with example usage: obj.test_opt() without return types