提交 7c030731 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!3939 fix_copy_primitive: Mean, Stack, Crop, SquaredDifference

Merge pull request !3939 from sunsuodong/fix_copy_primitive
......@@ -138,6 +138,14 @@ lite::Primitive *ModelImpl::CopyPrimitive(const schema::Primitive *srcPrim) {
return new lite::Nhwc2Nchw(const_cast<schema::Primitive *>(srcPrim));
case schema::PrimitiveType_Flatten:
return new lite::Flatten(const_cast<schema::Primitive *>(srcPrim));
case schema::PrimitiveType_Mean:
return new lite::Mean(const_cast<schema::Primitive *>(srcPrim));
case schema::PrimitiveType_Stack:
return new lite::Stack(const_cast<schema::Primitive *>(srcPrim));
case schema::PrimitiveType_Crop:
return new lite::Crop(const_cast<schema::Primitive *>(srcPrim));
case schema::PrimitiveType_SquaredDifference:
return new lite::SquaredDifference(const_cast<schema::Primitive *>(srcPrim));
case schema::PrimitiveType_MatMul:
return new lite::MatMul(const_cast<schema::Primitive *>(srcPrim));
case schema::PrimitiveType_QuantDTypeCast:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册