From dd9b56f047dd615e367187e794364d5da24cee42 Mon Sep 17 00:00:00 2001 From: Martin Wicke <577277+martinwicke@users.noreply.github.com> Date: Fri, 27 Apr 2018 23:04:58 -0700 Subject: [PATCH] Fix docs rendering in placeholder docs page. --- tensorflow/python/ops/array_ops.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tensorflow/python/ops/array_ops.py b/tensorflow/python/ops/array_ops.py index c6ff0201823..e235047aff3 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