!12388 [MS][LITE] fix tflite parser bug

From: @cjh9368
Reviewed-by: @zhanghaibo5,@hangangqiang
Signed-off-by: @zhanghaibo5
pull/12388/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit eee7374120

@ -37,7 +37,7 @@ PrimitiveC *TfliteDepthToSpaceParser::ParseLitePrimitive(const std::unique_ptr<t
attr->blockSize = tflite_attr->block_size;
attr->format = schema::Format::Format_NHWC;
auto primitive = std::make_unique<schema::PrimitiveT>();
primitive->value.type = schema::PrimitiveType_Concat;
primitive->value.type = schema::PrimitiveType_DepthToSpace;
primitive->value.value = attr.release();
return PrimitiveC::Create(primitive.release());
}

Loading…
Cancel
Save