code: def convert_to_tensor(x):
      """A looser convert_to_tensor."""
      if x is None:
          return x
      if isinstance(x, tf.TensorArray):
          return x
      return tf.convert_to_tensor(x)
  
imports: import functools
  import numpy
  import six
  import tensorflow.compat.v2
  from tensorflow.python.util import nest
label_desc: Use image node_id 28 for calling a global function with example usage: convert_to_tensor(x) and returns: tf, x, x