tf.contrib.nccl.all_prod(tensors)
Defined in tensorflow/contrib/nccl/python/ops/nccl_ops.py
.
Returns a list of tensors with the all-reduce product across tensors
.
The computation is done with an all-reduce operation, so if only some of the returned tensors are evaluated then the computation will hang.
tensors
: The input tensors across which to multiply; must be assigned to GPU devices.List of tensors, each with the product of the input tensors, where tensor i has the same device as tensors[i]
.
© 2018 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/api_docs/python/tf/contrib/nccl/all_prod