提交 d3deb6fa 编写于 作者: Y Yuan Gao 提交者: GitHub

Update DetectionOutputLayer.cpp

Fix format
上级 71b3fbb1
...@@ -143,8 +143,7 @@ void DetectionOutputLayer::forward(PassType passType) { ...@@ -143,8 +143,7 @@ void DetectionOutputLayer::forward(PassType passType) {
resetOutput(numKept, 7); resetOutput(numKept, 7);
} else { } else {
MatrixPtr outV = getOutputValue(); MatrixPtr outV = getOutputValue();
if (outV) if (outV) outV->resize(0,0);
outV->resize(0,0);
return; return;
} }
MatrixPtr outV = getOutputValue(); MatrixPtr outV = getOutputValue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册