From d8e63498d4168c378f7f5b55a4b04c43a537bda4 Mon Sep 17 00:00:00 2001 From: Samuel Caldas Date: Mon, 15 Jun 2020 18:44:07 -0300 Subject: [PATCH] Update Placeholder.md --- docs/source/Placeholder.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/Placeholder.md b/docs/source/Placeholder.md index a578a127..2cf345bd 100644 --- a/docs/source/Placeholder.md +++ b/docs/source/Placeholder.md @@ -8,13 +8,13 @@ In this chapter we will talk about another common data type in TensorFlow: Place var x = tf.placeholder(tf.int32); var y = x * 3; -Python.with(tf.Session(), sess => +using (var sess = tf.Session()) { var result = sess.run(y, feed_dict: new FeedItem[] { new FeedItem(x, 2) }); // (int)result should be 6; -}); +} ```