code: def _convert_to_tensor(x, name, dtype=None):
      return (
          None
          if x is None
          else tf.convert_to_tensor(x, name=name, dtype=dtype)
      )
  
imports: import functools
  import hashlib
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import assert_util
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import reparameterization
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 1 for calling a global function with example usage: _convert_to_tensor(x, name, dtype) and returns: unknown