[MNN:Bugfix] Fix bug for ConvInt8TiledExecutor onClone

This commit is contained in:
xiaying 2021-06-16 16:20:42 +08:00
parent 8d9f86bc4a
commit f6422c315c
1 changed files with 1 additions and 2 deletions

View File

@ -138,8 +138,7 @@ bool ConvInt8TiledExecutor::onClone(Backend* bn, const Op* op, Execution** dst)
if (nullptr == dst) {
return true;
}
// TODO: use this->mCommon instead of op->main_as_Convolution2D()->common(), is this correct whenever ?
auto exe = new ConvInt8TiledExecutor(bn, mCommon, *this);
auto exe = new ConvInt8TiledExecutor(bn, op->main_as_Convolution2D()->common(), *this);
if (!exe->valid()) {
return false;
}