diff --git a/mindspore-lite/test/config_level0/models_codegen_quant.cfg b/mindspore-lite/test/config_level0/models_codegen_quant.cfg index c2f0dbbbbfafb02ff2f2454d22934143db7368a4..793780b8bfb06738b0a557e92a42f18221584bb0 100644 --- a/mindspore-lite/test/config_level0/models_codegen_quant.cfg +++ b/mindspore-lite/test/config_level0/models_codegen_quant.cfg @@ -1,5 +1,5 @@ mnist.tflite;1:conv2d_input orange.pb;1:inputs;1,1,880,2 sega.pb;1:inputs;1,1,125,3 -m0808.onnx;5:"onnx::Div_0","onnx::Div_1","onnx::Transpose_2","onnx::Unsqueeze_3","onnx::Unsqueeze_4";1,257,1:1,257,1:1,257,1:1,257,1:1,64,1 0.99 +# m0808.onnx;5:"onnx::Div_0","onnx::Div_1","onnx::Transpose_2","onnx::Unsqueeze_3","onnx::Unsqueeze_4";1,257,1:1,257,1:1,257,1:1,257,1:1,64,1 0.99 diff --git a/mindspore-lite/tools/converter/config_parser/acl_option_param_parser.cc b/mindspore-lite/tools/converter/config_parser/acl_option_param_parser.cc index 1d47c900b906647b7f021c517ae65356908132e2..f5bf78ae5a9c7ec9d869de1f036a4bc66e2cd314 100644 --- a/mindspore-lite/tools/converter/config_parser/acl_option_param_parser.cc +++ b/mindspore-lite/tools/converter/config_parser/acl_option_param_parser.cc @@ -38,7 +38,6 @@ STATUS AclOptionParamParser::ParseAclOptionCfg(const AclOptionCfgString &acl_opt } if (!acl_option_string.device_id.empty()) { if (ParseDeviceId(acl_option_string.device_id, acl_option_cfg) != RET_OK) { - MS_LOG(ERROR) << "Parse device id failed, val: " << acl_option_string.device_id; return RET_INPUT_PARAM_INVALID; } } diff --git a/mindspore-lite/tools/converter/micro/coder/opcoders/nnacl/int8/sub_int8_coder.cc b/mindspore-lite/tools/converter/micro/coder/opcoders/nnacl/int8/sub_int8_coder.cc index cbf0e03ee667086d2433feffd68985062ec6c4ef..877c944a537c6234fcf28de7e549ed1c9e99b78e 100644 --- a/mindspore-lite/tools/converter/micro/coder/opcoders/nnacl/int8/sub_int8_coder.cc +++ b/mindspore-lite/tools/converter/micro/coder/opcoders/nnacl/int8/sub_int8_coder.cc @@ -88,10 +88,7 @@ int SubInt8Coder::DoCode(CoderContext *const context) { tile_para.out_shape_[i] = output_tensor_->DimensionSize(i); } tile0_data_ = static_cast(allocator_->Malloc(kNumberTypeInt8, output_tensor_->Size(), kWorkspace)); - MS_CHECK_PTR(tile0_data_); tile1_data_ = static_cast(allocator_->Malloc(kNumberTypeInt8, output_tensor_->Size(), kWorkspace)); - MS_CHECK_PTR(tile1_data_); - code.CodeStruct("tile_para", tile_para); code.CodeFunction("TileDimensionsInt8", input0, input1, tile0_data_, tile1_data_, "&tile_para");