class_docstr: IntVarLenTensorGenerator generates tf.sparse.SparseTensor with dtype in tf.int32 or tf.int64
code: def generate(self):
      dtype = self.spec.dtype
      info = np.iinfo(dtype.as_numpy_dtype)
      shape = self._get_shape()
      idxs = []
      self._get_idx(0, shape, [0] * len(shape), idxs)
      vals = np.random.randint(
          low=info.min,
          high=info.max,
          size=len(idxs),
          dtype=dtype.as_numpy_dtype,
      )
      return tf.SparseTensor(
          indices=idxs, values=vals, dense_shape=shape
      )
  
imports: import enum
  import hashlib
  import numpy
  import tensorflow
  from tests.test_atds_avro.utils.generator.generator_base import Generator
  from tests.test_atds_avro.utils.hash_util import int_to_bytes
label_desc: Use image node_id 2 for calling the IntVarLenTensorGenerator obj's underlying member method code with example usage: obj.generate() and returns: tf