We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4025463 commit 0c19f5fCopy full SHA for 0c19f5f
1 file changed
test/TensorFlowNET.UnitTest/TF_API/TensorOperate.cs
@@ -29,7 +29,8 @@ public void InitTensorTest()
29
var a = tf.constant(new NDArray(new[, ,] { { { 1 }, { 2 }, { 3 } }, { { 4 }, { 5 }, { 6 } } }));
30
var b = tf.constant(new[, ,] { { { 1 }, { 2 }, { 3 } }, { { 4 }, { 5 }, { 6 } } });
31
//Test Result : a is OK , and b is error .
32
-
+ Assert.IsTrue(Enumerable.SequenceEqual(new[] { 2, 3, 1 }, a.shape));
33
+ Assert.IsTrue(Enumerable.SequenceEqual(new[] { 2, 3, 1 }, b.shape));
34
}
35
36
0 commit comments