code: def make_tensor_seed(seed):
      """Converts a seed to a `Tensor` seed."""
      if _is_stateful_seed(seed):
          iinfo = np.iinfo(np.int32)
          return tf.random.uniform(
              [2],
              minval=iinfo.min,
              maxval=iinfo.max,
              dtype=tf.int32,
              name="seed",
          )
      else:
          return tf.convert_to_tensor(seed, dtype=tf.int32, name="seed")
  
imports: import functools
  import numpy
  import six
  import tensorflow.compat.v2
  from tensorflow.python.util import nest
label_desc: Use image node_id 9 for calling a global function with example usage: make_tensor_seed(seed) and returns: tf, tf