提交 8f9a8c45 编写于 作者: N nhzlx

delete unused test code.

test=develop
上级 83f8c403
......@@ -102,8 +102,7 @@ class Pool2dOpConverter : public OpConverter {
layer->setName(("pool2d (Output: " + output_name + ")").c_str());
layer->getOutput(0)->setName(output_name.c_str());
engine_->SetITensor(output_name, layer->getOutput(0));
if (test_mode ||
output_name == "patch_6_pool1.avg_pool.output.1.tmp_0702") {
if (test_mode) {
engine_->DeclareOutput(output_name);
}
return;
......@@ -148,8 +147,7 @@ class Pool2dOpConverter : public OpConverter {
layer->setName(("pool2d (Output: " + output_name + ")").c_str());
layer->getOutput(0)->setName(output_name.c_str());
engine_->SetITensor(output_name, layer->getOutput(0));
if (test_mode ||
output_name == "patch_6_pool1.avg_pool.output.1.tmp_0702") {
if (test_mode) {
engine_->DeclareOutput(output_name);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册