Skip to content

Commit aebf7a9

Browse files
samuelcaldasOceania2018
authored andcommitted
Update Placeholder.md
1 parent afee297 commit aebf7a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/source/Placeholder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ In this chapter we will talk about another common data type in TensorFlow: Place
88
var x = tf.placeholder(tf.int32);
99
var y = x * 3;
1010

11-
Python.with<Session>(tf.Session(), sess =>
11+
using (var sess = tf.Session())
1212
{
1313
var result = sess.run(y, feed_dict: new FeedItem[]
1414
{
1515
new FeedItem(x, 2)
1616
});
1717
// (int)result should be 6;
18-
});
18+
}
1919
```
2020

0 commit comments

Comments
 (0)