Browse Source

Move GradientEagerTest.

tags/yolov3
Oceania2018 4 years ago
parent
commit
027334133d
3 changed files with 6 additions and 4 deletions
  1. +1
    -1
      test/TensorFlowNET.Native.UnitTest/Sessions/SessionTest.cs
  2. +4
    -2
      test/TensorFlowNET.UnitTest/GradientTest/GradientEagerTest.cs
  3. +1
    -1
      test/TensorFlowNET.UnitTest/ManagedAPI/ConstantTest.cs

+ 1
- 1
test/TensorFlowNET.Native.UnitTest/Sessions/SessionTest.cs View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;


namespace Tensorflow.Native.UnitTest.Sessions namespace Tensorflow.Native.UnitTest.Sessions
{ {
[TestClass, Ignore]
[TestClass]
public class SessionTest : CApiTest public class SessionTest : CApiTest
{ {
/// <summary> /// <summary>


test/TensorFlowNET.Native.UnitTest/Eager/GradientEagerTest.cs → test/TensorFlowNET.UnitTest/GradientTest/GradientEagerTest.cs View File

@@ -1,12 +1,14 @@
using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.VisualStudio.TestTools.UnitTesting;
using System; using System;
using System.Linq; using System.Linq;
using Tensorflow;
using Tensorflow.UnitTest;
using static Tensorflow.Binding; using static Tensorflow.Binding;


namespace Tensorflow.Native.UnitTest.Eager
namespace TensorFlowNET.UnitTest.Gradient
{ {
[TestClass] [TestClass]
public class GradientEagerTest
public class GradientEagerTest : EagerModeTestBase
{ {
[TestMethod] [TestMethod]
public void ConstantSquare() public void ConstantSquare()

+ 1
- 1
test/TensorFlowNET.UnitTest/ManagedAPI/ConstantTest.cs View File

@@ -8,7 +8,7 @@ using static Tensorflow.Binding;
namespace TensorFlowNET.UnitTest.Basics namespace TensorFlowNET.UnitTest.Basics
{ {
[TestClass] [TestClass]
public class ConstantTest
public class ConstantTest : EagerModeTestBase
{ {
Status status = new Status(); Status status = new Status();




Loading…
Cancel
Save