code: def testStringToIntTensor(self):
      with tf.compat.v1.Session() as sess:
          s = "\001\002\003\004\005\006\007"
          it = dv_utils.string_to_int_tensor(s)
          x = sess.run(it)
          a = x[0]
          self.assertLen(s, a)
          b = list(x[1 : a + 1])
          self.assertEqual(b, [1, 2, 3, 4, 5, 6, 7])
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import tensorflow
  from deepvariant import dv_utils
  from tensorflow.python.platform import gfile
  from third_party.nucleus.io import tfrecord
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.testing import test_utils
  from tensorflow.core.example import example_pb2
label_desc: Use image node_id 8 for calling the TFUtilsTest obj's underlying member method code with example usage: obj.testStringToIntTensor() without return types