code: def testLinSpace(self):
      array_transforms = [
          lambda x: x,  # Identity,
          tf.convert_to_tensor,
          np.array,
          lambda x: np.array(x, dtype=np.float32),
          lambda x: np.array(x, dtype=np.float64),
          array_ops.array,
          lambda x: array_ops.array(x, dtype=np.float32),
          lambda x: array_ops.array(x, dtype=np.float64),
      ]
  
      def run_test(start, stop, **kwargs):
          for fn1 in array_transforms:
              for fn2 in array_transforms:
                  arg1 = fn1(start)
                  arg2 = fn2(stop)
                  self.match(
                      math_ops.linspace(arg1, arg2, **kwargs),
                      np.linspace(arg1, arg2, **kwargs),
                      msg="linspace({}, {})".format(arg1, arg2),
                  )
  
      run_test(0, 1)
      run_test(0, 1, num=10)
      run_test(0, 1, endpoint=False)
      run_test(0, -1)
      run_test(0, -1, num=10)
      run_test(0, -1, endpoint=False)
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  from six.moves import range
  import tensorflow.compat.v2
  from trax.tf_numpy.numpy_impl import array_ops
  from trax.tf_numpy.numpy_impl import arrays
  from trax.tf_numpy.numpy_impl import math_ops
label_desc: Use image node_id 20 for calling the MathTest obj's underlying member method code with example usage: obj.testLinSpace() without return types