提交 cf868918 编写于 作者: W wanghaoshuang

fix unittest of crop layer

上级 86bdb2f3
...@@ -36,7 +36,7 @@ TEST(Crop, real) { ...@@ -36,7 +36,7 @@ TEST(Crop, real) {
BufferArg(VALUE_TYPE_FLOAT, test_grad ? outDims : inDims)); BufferArg(VALUE_TYPE_FLOAT, test_grad ? outDims : inDims));
compare.addOutputs(BufferArg(VALUE_TYPE_FLOAT, compare.addOutputs(BufferArg(VALUE_TYPE_FLOAT,
test_grad ? inDims : outDims, test_grad ? inDims : outDims,
tes_grad ? ADD_TO : ASSIGN_TO), test_grad ? ADD_TO : ASSIGN_TO),
test_grad ? ADD_TO : ASSIGN_TO); test_grad ? ADD_TO : ASSIGN_TO);
compare.run(); compare.run();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册