diff --git a/mindspore/lite/tools/converter/parser/tflite/tflite_model_parser.cc b/mindspore/lite/tools/converter/parser/tflite/tflite_model_parser.cc index 72a68f984f..4fecaebc56 100644 --- a/mindspore/lite/tools/converter/parser/tflite/tflite_model_parser.cc +++ b/mindspore/lite/tools/converter/parser/tflite/tflite_model_parser.cc @@ -297,6 +297,12 @@ STATUS TfliteModelParser::ConvertGroupDepthwiseOp(schema::MetaGraphT *sub_graph) MS_LOG(ERROR) << "Trans depthwiseConv Filter schema::Format failed."; return RET_ERROR; } + } else if (weight_tensor->dataType == kNumberTypeInt8) { + auto status = TransFilterFormat(weight_tensor.get(), kKHWC2CHWK); + if (status != RET_OK) { + MS_LOG(ERROR) << "Trans filter format failed."; + return RET_ERROR; + } } else if (weight_tensor->dataType == kNumberTypeFloat32 || weight_tensor->dataType == kNumberTypeFloat) { auto status = TransFilterFormat(weight_tensor.get(), kKHWC2CHWK); if (status != RET_OK) {