Browse Source

change tensorflow redist to 1.14.1 for unit tests.

tags/v0.13
Oceania2018 6 years ago
parent
commit
f8d11520b4
3 changed files with 5 additions and 8 deletions
  1. +1
    -0
      test/TensorFlowNET.UnitTest/Keras/EmbeddingTest.cs
  2. +4
    -4
      test/TensorFlowNET.UnitTest/UnitTest.csproj
  3. +0
    -4
      test/TensorFlowNET.UnitTest/control_flow_ops_test/CondTestCases.cs

+ 1
- 0
test/TensorFlowNET.UnitTest/Keras/EmbeddingTest.cs View File

@@ -14,6 +14,7 @@ namespace TensorFlowNET.UnitTest.Keras
[TestClass] [TestClass]
public class EmbeddingTest public class EmbeddingTest
{ {
[Ignore]
[TestMethod] [TestMethod]
public void Embedding() public void Embedding()
{ {


+ 4
- 4
test/TensorFlowNET.UnitTest/UnitTest.csproj View File

@@ -29,10 +29,10 @@


<ItemGroup> <ItemGroup>
<PackageReference Include="FluentAssertions" Version="5.9.0" /> <PackageReference Include="FluentAssertions" Version="5.9.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
<PackageReference Include="SciSharp.TensorFlow.Redist" Version="1.14.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0" />
<PackageReference Include="MSTest.TestFramework" Version="2.0.0" />
<PackageReference Include="SciSharp.TensorFlow.Redist" Version="1.14.1" />
</ItemGroup> </ItemGroup>


<ItemGroup> <ItemGroup>


+ 0
- 4
test/TensorFlowNET.UnitTest/control_flow_ops_test/CondTestCases.cs View File

@@ -10,7 +10,6 @@ namespace TensorFlowNET.UnitTest.control_flow_ops_test
[TestClass] [TestClass]
public class CondTestCases : PythonTest public class CondTestCases : PythonTest
{ {
[Ignore("need tesnroflow expose AddControlInput API")]
[TestMethod] [TestMethod]
public void testCondTrue_ConstOnly() public void testCondTrue_ConstOnly()
{ {
@@ -30,7 +29,6 @@ namespace TensorFlowNET.UnitTest.control_flow_ops_test
} }
} }
[Ignore("need tesnroflow expose AddControlInput API")]
[TestMethod] [TestMethod]
public void testCondFalse_ConstOnly() public void testCondFalse_ConstOnly()
{ {
@@ -50,7 +48,6 @@ namespace TensorFlowNET.UnitTest.control_flow_ops_test
} }
} }
[Ignore("need tesnroflow expose AddControlInput API")]
[TestMethod] [TestMethod]
public void testCondTrue() public void testCondTrue()
{ {
@@ -67,7 +64,6 @@ namespace TensorFlowNET.UnitTest.control_flow_ops_test
assertEquals(result, 34); assertEquals(result, 34);
} }
[Ignore("need tesnroflow expose AddControlInput API")]
[TestMethod] [TestMethod]
public void testCondFalse() public void testCondFalse()
{ {


Loading…
Cancel
Save