Skip to content

Commit fe82fd5

Browse files
quanap5krEsther2013
authored andcommitted
scan unit test
1 parent c632c40 commit fe82fd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/TensorFlowNET.UnitTest/ManagedAPI/ControlFlowApiTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ public void WhileLoopGraphMode()
4747
Assert.AreEqual(10, (int)r);
4848
}
4949

50+
5051
[TestMethod, Ignore]
5152
public void ScanFunctionGraphMode()
5253
{
5354
tf.compat.v1.disable_eager_execution();
55+
5456
Func<Tensor, Tensor, Tensor> fn = (prev, current) => tf.add(prev, current);
5557
var input = tf.placeholder(TF_DataType.TF_FLOAT, new TensorShape(6));
5658
var scan = tf.scan(fn, input);

0 commit comments

Comments
 (0)