aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-11-30 13:04:03 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-11-30 13:22:28 -0800
commit53a48e0472ee746f84681e637d8c62681f63c05e (patch)
tree1945a68bb593ffbb35aa43845e2ce788e3ca67ce
parentc532a5b558a451d599190f1dbbdf68f08dfcaa88 (diff)
Exclude contrib.layers.stack from documentation as it conflicts with tf.stack.
Change: 140641199
-rw-r--r--tensorflow/contrib/layers/__init__.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tensorflow/contrib/layers/__init__.py b/tensorflow/contrib/layers/__init__.py
index 57debbc148..b7832be73f 100644
--- a/tensorflow/contrib/layers/__init__.py
+++ b/tensorflow/contrib/layers/__init__.py
@@ -33,12 +33,14 @@ common machine learning algorithms.
@@repeat
@@safe_embedding_lookup_sparse
@@separable_convolution2d
-@@stack
@@unit_norm
Aliases for fully_connected which set a default activation function are
available: `relu`, `relu6` and `linear`.
+`stack` operation is also available. It builds a stack of layers by applying
+a layer repeatedly.
+
## Regularizers
Regularization can help prevent overfitting. These have the signature
@@ -118,4 +120,8 @@ from tensorflow.contrib.layers.python.ops import sparse_ops
from tensorflow.python.util.all_util import make_all
# pylint: enable=unused-import,wildcard-import
+
+# Note: `stack` operation is available, just excluded from the document above
+# due to collision with tf.stack.
+
__all__ = make_all(__name__)