code: def is_range_tensor(self):
      self.assertTrue(tensors.is_range_tensor(math_ops.range(1)))
      self.assertTrue(tensors.is_range_tensor(math_ops.range(1, 2)))
      self.assertTrue(tensors.is_range_tensor(math_ops.range(1, 2, 3)))
      self.assertFalse(tensors.is_range_tensor(None))
      self.assertFalse(
          tensors.is_range_tensor(constant_op.constant(range(1)))
      )
  
file_path: tensorflow/tensorflow/python/autograph/utils/tensors_test.py
imports: from tensorflow.python.autograph.utils import tensors
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import list_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import tensor_array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the TensorsTest obj's underlying member method code with example usage: obj.is_range_tensor() without return types