Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f8d1152

Browse files
committed
change tensorflow redist to 1.14.1 for unit tests.
1 parent 1d9e2e5 commit f8d1152

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

test/TensorFlowNET.UnitTest/Keras/EmbeddingTest.cs

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace TensorFlowNET.UnitTest.Keras
1414
[TestClass]
1515
public class EmbeddingTest
1616
{
17+
[Ignore]
1718
[TestMethod]
1819
public void Embedding()
1920
{

test/TensorFlowNET.UnitTest/UnitTest.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929

3030
<ItemGroup>
3131
<PackageReference Include="FluentAssertions" Version="5.9.0" />
32-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
33-
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
34-
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
35-
<PackageReference Include="SciSharp.TensorFlow.Redist" Version="1.14.0" />
32+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
33+
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0" />
34+
<PackageReference Include="MSTest.TestFramework" Version="2.0.0" />
35+
<PackageReference Include="SciSharp.TensorFlow.Redist" Version="1.14.1" />
3636
</ItemGroup>
3737

3838
<ItemGroup>

test/TensorFlowNET.UnitTest/control_flow_ops_test/CondTestCases.cs

-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ namespace TensorFlowNET.UnitTest.control_flow_ops_test
1010
[TestClass]
1111
public class CondTestCases : PythonTest
1212
{
13-
[Ignore("need tesnroflow expose AddControlInput API")]
1413
[TestMethod]
1514
public void testCondTrue_ConstOnly()
1615
{
@@ -30,7 +29,6 @@ public void testCondTrue_ConstOnly()
3029
}
3130
}
3231

33-
[Ignore("need tesnroflow expose AddControlInput API")]
3432
[TestMethod]
3533
public void testCondFalse_ConstOnly()
3634
{
@@ -50,7 +48,6 @@ public void testCondFalse_ConstOnly()
5048
}
5149
}
5250

53-
[Ignore("need tesnroflow expose AddControlInput API")]
5451
[TestMethod]
5552
public void testCondTrue()
5653
{
@@ -67,7 +64,6 @@ public void testCondTrue()
6764
assertEquals(result, 34);
6865
}
6966

70-
[Ignore("need tesnroflow expose AddControlInput API")]
7167
[TestMethod]
7268
public void testCondFalse()
7369
{

0 commit comments

Comments
 (0)