code: def testAgainstNumPy(self):
      regularizer = regularizers.L1(0.01)
      tensors = [tf.random.uniform([42]), tf.random.uniform([24])]
  
      def l1(scale, t):
          return scale * np.abs(t).sum()
  
      self.assertAllClose(
          regularizer(tensors),
          sum(l1(regularizer.scale, self.evaluate(t)) for t in tensors),
      )
  
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 L1Test obj's underlying member method code with example usage: obj.testAgainstNumPy() and returns: unknown