code: def int_tensor_to_string(x):
      """Python operations to encode a tensor of ints into string of bytes."""
      slen = x[0]
      v = x[1 : slen + 1]
      return np.array(v, dtype=np.uint8).tostring()
  
imports: import json
  from typing import Optional
  from absl import logging
  import numpy
  import tensorflow
  from deepvariant.protos import deepvariant_pb2
  from third_party.nucleus.io import sharded_file_utils
  from third_party.nucleus.io import tfrecord
  from third_party.nucleus.protos import variants_pb2
  from tensorflow.core.example import example_pb2
label_desc: Use image node_id 21 for calling a global function with example usage: int_tensor_to_string(x) and returns: np