-
Notifications
You must be signed in to change notification settings - Fork 541
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
[TestMethod]
public void Add()
{
var x = tf.Variable(10, name: "x");
var model = tf.global_variables_initializer();
using (var session = tf.Session())
{
var sm = session.run(model);
for(int i = 0; i < 5; i++)
{
var x1 = x + 1;
var result = session.run(x1);
print(result);
}
}
}The unit test above throws exception:
Attempting to use uninitialized value x [[{{node x/read}}]]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed