aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/layers
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com>2018-07-05 03:13:46 +0000
committerGravatar Yong Tang <yong.tang.github@outlook.com>2018-07-05 03:19:22 +0000
commit911b141ac83ad5cd8ca1c4541b934c185c9c46ec (patch)
tree2d36a926d63bea2be441c1beb4997f2e71f4ac96 /tensorflow/contrib/layers
parentb2fe2a874bade4782aaca5c44bf29e7ff6c39200 (diff)
Expose `tf.contrib.layers.conv1d` like conv2d/conv3d
This fix tries to address the issue raised in 20551 where `tf.contrib.layers.conv1d` is not exposed. In tf.contrib.layers even though conv1d/conv2d/conv3d are all available, the conv1d was not exposed like conv2d/conv3d. This fix exposed `tf.contrib.layers.conv1d` so that it is consistent with `tf.contrib.layers.conv2d` and `tf.contrib.layers.conv3d`. This fix fixes 20551. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'tensorflow/contrib/layers')
-rw-r--r--tensorflow/contrib/layers/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/contrib/layers/__init__.py b/tensorflow/contrib/layers/__init__.py
index bc33596935..a7b41b714f 100644
--- a/tensorflow/contrib/layers/__init__.py
+++ b/tensorflow/contrib/layers/__init__.py
@@ -121,6 +121,7 @@ from tensorflow.contrib.layers.python.layers import *
from tensorflow.python.util.all_util import remove_undocumented
_allowed_symbols = ['bias_add',
+ 'conv1d',
'conv2d',
'conv3d',
'elu',