tf.raw_ops.NcclBroadcast
Sends input to all devices that are connected to the output.
tf.raw_ops.NcclBroadcast(
input, shape, name=None
)
Sends input to all devices that are connected to the output.
The graph should be constructed so that all ops connected to the output have a valid device assignment, and the op itself is assigned one of these devices.
input: The input to the broadcast. output: The same as input. shape: The shape of the input tensor.
| Args | |
|---|---|
input | A Tensor. Must be one of the following types: half, float32, float64, int32, int64. |
shape | A tf.TensorShape or list of ints. |
name | A name for the operation (optional). |
| Returns | |
|---|---|
A Tensor. Has the same type as input. |
© 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/NcclBroadcast