code: def empty_like(x, init=None):
      """Returns a non-initialized tensor with the same shape and dtype as x.
  
      Args:
        x: A Tensor.
        init: Initialize the returned tensor with the default value of
          x.dtype(), if True. Otherwise, do not initialize. Defaults to
          None.
  
      Returns:
        A tensor y, whose dtype and shape are the same as those of x.
        y is guaranteed not to be an alias of x. Upon return, y may contain
        arbitrary data.
  
      """
      x = ops.convert_to_tensor(x)
      return gen_array_ops.empty(array_ops.shape(x), x.dtype, init=init)
  
file_path: tensorflow/tensorflow/python/ops/inplace_ops.py
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.util import deprecation
label_desc: Use image node_id 5 for calling a global function with example usage: empty_like(x, init) and returns: gen_array_ops