code: def testAgainstNumPy(self):
      regularizer = regularizers.OffDiagonalOrthogonal(0.01)
      tensors = [tf.random.uniform([4, 2]), tf.random.uniform([2, 4])]
  
      def odo(scale, t):
          t2 = np.square(np.dot(t.T, t))
          return scale * (t2.sum() - np.trace(t2))
  
      atol = 1e-3 if self.primary_device == "TPU" else 1e-6
      self.assertAllClose(
          regularizer(tensors),
          sum(
              odo(regularizer.scale, self.evaluate(t)) for t in tensors
          ),
          atol=atol,
      )
  
file_path: sonnet/sonnet/src/regularizers_test.py
imports: import numpy
  from sonnet.src import regularizers
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 1 for calling the OffDiagonalOrthogonalTest obj's underlying member method code with example usage: obj.testAgainstNumPy() and returns: unknown