code: def new_tensor_like(name, arr_like):
      """Creates a new placeholder :class:`tf.Tensor` similar to arr_like.
  
      The new :class:`tf.Tensor` has the same number of dimensions and
      dtype as arr_like.
  
      Args:
          name (string): Name of the new tf.Tensor.
          arr_like (tf.Tensor): Tensor to copy attributes from.
  
      Returns:
          tf.Tensor: New placeholder tensor.
      """
      return new_tensor(
          name, arr_like.get_shape().ndims, arr_like.dtype.base_dtype
      )
  
imports: import collections
  import numpy
  import tensorflow
label_desc: Use image node_id 11 for calling a global function with example usage: new_tensor_like(name, arr_like) and returns: new_tensor