Skip to content

Commit 0273341

Browse files
committed
Move GradientEagerTest.
1 parent 34a5b32 commit 0273341

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

test/TensorFlowNET.Native.UnitTest/Sessions/SessionTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Tensorflow.Native.UnitTest.Sessions
66
{
7-
[TestClass, Ignore]
7+
[TestClass]
88
public class SessionTest : CApiTest
99
{
1010
/// <summary>

test/TensorFlowNET.Native.UnitTest/Eager/GradientEagerTest.cs renamed to test/TensorFlowNET.UnitTest/GradientTest/GradientEagerTest.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
using Microsoft.VisualStudio.TestTools.UnitTesting;
22
using System;
33
using System.Linq;
4+
using Tensorflow;
5+
using Tensorflow.UnitTest;
46
using static Tensorflow.Binding;
57

6-
namespace Tensorflow.Native.UnitTest.Eager
8+
namespace TensorFlowNET.UnitTest.Gradient
79
{
810
[TestClass]
9-
public class GradientEagerTest
11+
public class GradientEagerTest : EagerModeTestBase
1012
{
1113
[TestMethod]
1214
public void ConstantSquare()

test/TensorFlowNET.UnitTest/ManagedAPI/ConstantTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace TensorFlowNET.UnitTest.Basics
99
{
1010
[TestClass]
11-
public class ConstantTest
11+
public class ConstantTest : EagerModeTestBase
1212
{
1313
Status status = new Status();
1414

0 commit comments

Comments
 (0)