提交 a407488f 编写于 作者: 刘琦

Merge branch 'op_test' into 'master'

Fix add repeated input bug in op_test_util.

See merge request !58
......@@ -63,7 +63,6 @@ class OpsTestNet {
ws_.CreateTensor(name, cpu_allocator(), DataTypeToEnum<T>::v());
input->Resize(shape);
T *input_data = input->mutable_data<T>();
MACE_CHECK(input->size() == data.size());
std::fill(input_data, input_data + input->size(), data);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册