Fix docs rendering in placeholder docs page.

This commit is contained in:
Martin Wicke 2018-04-27 23:04:58 -07:00 committed by GitHub
parent 4daebd253f
commit dd9b56f047
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