tf.raw_ops.Send
Sends the named tensor from send_device to recv_device.
tf.raw_ops.Send( tensor, tensor_name, send_device, send_device_incarnation, recv_device, client_terminated=False, name=None )
Args | |
---|---|
tensor | A Tensor . The tensor to send. |
tensor_name | A string . The name of the tensor to send. |
send_device | A string . The name of the device sending the tensor. |
send_device_incarnation | An int . The current incarnation of send_device. |
recv_device | A string . The name of the device receiving the tensor. |
client_terminated | An optional bool . Defaults to False . If set to true, this indicates that the node was added to the graph as a result of a client-side feed or fetch of Tensor data, in which case the corresponding send or recv is expected to be managed locally by the caller. |
name | A name for the operation (optional). |
Returns | |
---|---|
The created Operation. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/Send