code: def _is_tensor_like(param):
      if is_list_like(param):
          return all([_is_tensor_like(p) for p in param])
      if isinstance(param, tf.Tensor):
          return True
      elif isinstance(param, tf.Variable):
          return False
      else:
          return np.array(param).dtype != np.object_
  
imports: import warnings
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import broadcast_util
  from tensorflow_probability.python.internal import distribution_util
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.math.gradient import value_and_gradient
  from tensorflow.python.util import deprecation
label_desc: Use image node_id 16 for calling a global function with example usage: _is_tensor_like(param) and returns: all, True, False, unknown