Skip to content

Commit ae50fa9

Browse files
fix fleaky test boundary continue
1 parent c33a3a7 commit ae50fa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/TensorFlowNET.Graph.UnitTest/GradientTest/GradientTest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public void testBoundaryContinue()
394394
// Test that we differentiate both 'x' and 'y' correctly when x is a
395395
// predecessor of y.
396396

397-
self.cached_session();
397+
var sess = self.cached_session().Single();
398398
var x = tf.constant(1.0);
399399
var y = x * 2.0;
400400
var z = y * 3.0;

0 commit comments

Comments
 (0)