auto --> auto&

mobile_baidu
yangyaming 7 years ago
parent 5a38195688
commit 4cd859c578

@ -49,7 +49,7 @@ void ScaleSubRegionLayer::forward(PassType passType) {
shape_ = TensorShape({batchSize, channelsNum_, imgH_, imgW_});
resetOutput(batchSize, imgV->getWidth());
auto out = getOutput();
auto& out = getOutput();
out.setFrameHeight(imgH_);
out.setFrameWidth(imgW_);

Loading…
Cancel
Save