Browse Source

fix fleaky test boundary continue

tags/v0.110.4-Transformer-Model
Alexander Novikov 2 years ago
parent
commit
ae50fa93ba
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/TensorFlowNET.Graph.UnitTest/GradientTest/GradientTest.cs

+ 1
- 1
test/TensorFlowNET.Graph.UnitTest/GradientTest/GradientTest.cs View File

@@ -394,7 +394,7 @@ namespace TensorFlowNET.UnitTest.Gradient
// Test that we differentiate both 'x' and 'y' correctly when x is a
// predecessor of y.

self.cached_session();
var sess = self.cached_session().Single();
var x = tf.constant(1.0);
var y = x * 2.0;
var z = y * 3.0;


Loading…
Cancel
Save