!23849 [MS][LITE][CPU] nchw common conv bug fix

Merge pull request !23849 from liuzhongkai/nchw_supp
This commit is contained in:
i-robot 2021-09-22 08:02:42 +00:00 committed by Gitee
commit 3330a630e8
1 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,8 @@ int ConvolutionCPUKernel::RunImpl(int task_id) {
ConvFp32OutNC4HW4(ori_input_data, packed_input_, reinterpret_cast<float *>(packed_weight_), ConvFp32OutNC4HW4(ori_input_data, packed_input_, reinterpret_cast<float *>(packed_weight_),
reinterpret_cast<float *>(bias_data_), col_major_input_, tmp_output_, task_id, conv_param_); reinterpret_cast<float *>(bias_data_), col_major_input_, tmp_output_, task_id, conv_param_);
#else #else
MS_LOG(ERROR) << "ConvFp32OutNC4HW4 not implemented."; ConvFp32(ori_input_data, packed_input_, reinterpret_cast<float *>(packed_weight_),
return RET_ERROR; reinterpret_cast<float *>(bias_data_), col_major_input_, tmp_output_, task_id, conv_param_);
#endif #endif
} }
return RET_OK; return RET_OK;