from tensorflow.python.framework import ops as _ops

      tensor=tensor,
      tensor_name=tensor_name,
      send_device=send_device,
      send_device_incarnation=0,
      recv_device=recv_device,
      client_terminated=False,
      name=name if name else "Send")
  return result


_ops.RegisterShape("_Send")(None)


def _XlaSend(tensor, tensor_name, name=None):
  r"""Sends the named tensor from send_device to recv_device.

  Args:
    tensor: A `Tensor`. The tensor to send.
    tensor_name: A `string`. The name of the tensor to send.
    name: A name for the operation (optional).
