aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/nccl
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-03-31 11:26:42 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-31 12:45:39 -0700
commit08a3e36c97a644377c07d39d6c707d1abfb2c394 (patch)
tree30ad1685e40246c968bb3b562bb3b203bec2719f /tensorflow/contrib/nccl
parenta05668a832980531e621586473204312c87b5b6e (diff)
Add nccl to tf.contrib.
Compile nccl on windows, now that bazel 0.4.5 is used. Change: 151853954
Diffstat (limited to 'tensorflow/contrib/nccl')
-rw-r--r--tensorflow/contrib/nccl/__init__.py22
1 files changed, 17 insertions, 5 deletions
diff --git a/tensorflow/contrib/nccl/__init__.py b/tensorflow/contrib/nccl/__init__.py
index 0275ed6079..d851c522c0 100644
--- a/tensorflow/contrib/nccl/__init__.py
+++ b/tensorflow/contrib/nccl/__init__.py
@@ -12,13 +12,25 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
-"""Ops for nccl AllReduce."""
+"""Functions for using NVIDIA nccl collective ops.
+
+@@all_max
+@@all_min
+@@all_prod
+@@all_sum
+@@broadcast
+
+"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
-# go/tf-wildcard-import
-# pylint: disable=wildcard-import
-from tensorflow.contrib.nccl.python.ops.nccl_ops import *
-# pylint: enable=wildcard-import
+from tensorflow.contrib.nccl.python.ops.nccl_ops import all_max
+from tensorflow.contrib.nccl.python.ops.nccl_ops import all_min
+from tensorflow.contrib.nccl.python.ops.nccl_ops import all_prod
+from tensorflow.contrib.nccl.python.ops.nccl_ops import all_sum
+from tensorflow.contrib.nccl.python.ops.nccl_ops import broadcast
+
+from tensorflow.python.util.all_util import remove_undocumented
+remove_undocumented(__name__)