Merge pull request #18944 from tensorflow/martinwicke-patch-3
Fix docs rendering in placeholder docs page.
This commit is contained in:
commit
058bb9aa7b
@ -1718,8 +1718,10 @@ def placeholder(dtype, shape=None, name=None):
|
|||||||
print(sess.run(y, feed_dict={x: rand_array})) # Will succeed.
|
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:
|
Args:
|
||||||
dtype: The type of elements in the tensor to be fed.
|
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
|
shape: The shape of the tensor to be fed (optional). If the shape is not
|
||||||
|
Loading…
Reference in New Issue
Block a user