code: def broadcast(tensor):
      """Returns a tensor that can be efficiently transferred to other devices.
  
      Args:
        tensor: The tensor to send; must be assigned to a GPU device.
  
      Returns:
        A tensor with the value of `src_tensor`, which can be used as input to
        ops on other GPU devices.
      """
      _check_device(tensor)
  
      with ops.device(tensor.device):
          return gen_nccl_ops.nccl_broadcast(
              input=tensor, shape=tensor.shape
          )
  
file_path: tensorflow/tensorflow/python/ops/nccl_ops.py
imports: import threading
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import device
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import gen_nccl_ops
label_desc: Use image node_id 8 for calling a global function with example usage: broadcast(tensor) and returns: gen_nccl_ops