code: def _NcclBroadcast(tensors, devices):
      sender = np.random.randint(0, len(devices))
      with ops.device(devices[sender]):
          tensor = array_ops.identity(tensors[0])
          broadcast = nccl_ops.broadcast(tensor)
      return _DeviceTensors([broadcast] * len(devices), devices)
  
imports: from functools import partial
  import numpy
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradients
  from tensorflow.python.ops import nccl_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling a global function with example usage: _NcclBroadcast(tensors, devices) and returns: _DeviceTensors