Skip to content

Commit

Permalink
passing
Browse files Browse the repository at this point in the history
  • Loading branch information
novikov-alexander committed Nov 10, 2023
1 parent 0190b3e commit b104dc2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/TensorFlowNET.UnitTest/Training/BasicLinearModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ public class BasicLinearModel
[TestMethod]
public void LinearRegression()
{
var graph = tf.Graph().as_default();
var sess = new Session(graph);
sess.as_default();

// Initialize the weights to `5.0` and the bias to `0.0`
// In practice, these should be initialized to random values (for example, with `tf.random.normal`)
var W = tf.Variable(5.0f);
Expand Down

0 comments on commit b104dc2

Please sign in to comment.