提交 4cd859c5 编写于 作者: Y yangyaming

auto --> auto&

上级 5a381956
...@@ -49,7 +49,7 @@ void ScaleSubRegionLayer::forward(PassType passType) { ...@@ -49,7 +49,7 @@ void ScaleSubRegionLayer::forward(PassType passType) {
shape_ = TensorShape({batchSize, channelsNum_, imgH_, imgW_}); shape_ = TensorShape({batchSize, channelsNum_, imgH_, imgW_});
resetOutput(batchSize, imgV->getWidth()); resetOutput(batchSize, imgV->getWidth());
auto out = getOutput(); auto& out = getOutput();
out.setFrameHeight(imgH_); out.setFrameHeight(imgH_);
out.setFrameWidth(imgW_); out.setFrameWidth(imgW_);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册