提交 5e2a2555 编写于 作者: S sangoly

Merge branch 'sangoly/debug_tools' into 'incubate/lite'

fix compile error

See merge request inference/paddlelite!53
......@@ -63,9 +63,7 @@ TEST(InceptionV4, test) {
0.00070094, 0.00080584, 0.00044525, 0.00074907,
0.00059774, 0.00063654});
for (int i = 0; i < results.size(); ++i) {
// TODO(sangoly): fix assert
// EXPECT_NEAR(out->data<float>()[i], results[i], 1e-5);
LOG(INFO) << "out -> " << out->data<float>()[i];
EXPECT_NEAR(out->data<float>()[i], results[i], 1e-5);
}
ASSERT_EQ(out->dims().size(), 2);
ASSERT_EQ(out->dims()[0], 1);
......
cc_library(debug_utils_lite SRCS debug_utils.cc)
cc_library(debug_utils_lite SRCS debug_utils.cc DEPS op_params_lite)
lite_cc_binary(lite_model_debug_tool SRCS model_debug_tool.cc
DEPS
......
......@@ -355,8 +355,6 @@ class Analyser(object):
self._output_diff_nodes(results, diff_vars)
def _output_diff_nodes(self, results, diff_vars):
logger.info('is here')
def output_param_info(inputs, outputs, infos, fd):
def tensor_repr(name):
return '\t'.join([
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册