code: def T(shape):
      """Make a dense test Tensor with the indicated shape."""
      # Values are arbitrary, but make them nontrivial because we use them to
      # test matmul against a reference implementation.
      values = math_ops.range(math_ops.reduce_prod(shape))
      return array_ops.reshape(values, shape)
  
imports: from absl.testing import parameterized
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.ragged import ragged_concat_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_math_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling a global function with example usage: T(shape) and returns: array_ops