Merge pull request #18944 from tensorflow/martinwicke-patch-3

Fix docs rendering in placeholder docs page.
This commit is contained in:
Billy Lamberta 2018-04-27 23:14:40 -07:00 committed by GitHub
commit 058bb9aa7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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