!5726 [MS][LITE][Develop]fix bug of creating pooling op

Merge pull request !5726 from mengyuanli/move_allocator
pull/5726/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 9af15bb8a7

@ -147,7 +147,7 @@ int Pooling::UnPackToFlatBuilder(const schema::Primitive *primitive, flatbuffers
auto val_offset =
schema::CreatePooling(*fbb, attr->format(), attr->poolingMode(), attr->global(), attr->windowW(), attr->windowH(),
attr->strideW(), attr->strideH(), attr->padMode(), attr->padUp(), attr->padDown(),
attr->padLeft(), attr->padRight(), attr->roundMode());
attr->padLeft(), attr->padRight(), attr->roundMode(), attr->activationType());
auto prim_offset = schema::CreatePrimitive(*fbb, schema::PrimitiveType_Pooling, val_offset.o);
fbb->Finish(prim_offset);
return RET_OK;

Loading…
Cancel
Save