aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Billy Lamberta <blamb@google.com>2018-04-27 23:14:40 -0700
committerGravatar GitHub <noreply@github.com>2018-04-27 23:14:40 -0700
commit058bb9aa7bacda789a0a60d6aa4014b60af91d7b (patch)
tree5857aeb7e187b5f672d03008002d031dec8e2e86
parent4daebd253fe5d99a976a960d306d539d1c20743f (diff)
parentdd9b56f047dd615e367187e794364d5da24cee42 (diff)
Merge pull request #18944 from tensorflow/martinwicke-patch-3
Fix docs rendering in placeholder docs page.
-rw-r--r--tensorflow/python/ops/array_ops.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tensorflow/python/ops/array_ops.py b/tensorflow/python/ops/array_ops.py
index c6ff020182..e235047aff 100644
--- a/tensorflow/python/ops/array_ops.py
+++ b/tensorflow/python/ops/array_ops.py
@@ -1718,8 +1718,10 @@ def placeholder(dtype, shape=None, name=None):
print(sess.run(y, feed_dict={x: rand_array})) # Will succeed.
```
- @compatibility{eager} Placeholders are not compatible with eager execution.
-
+ @compatibility(eager)
+ Placeholders are not compatible with eager execution.
+ @end_compatibility
+
Args:
dtype: The type of elements in the tensor to be fed.
shape: The shape of the tensor to be fed (optional). If the shape is not