forked from mindspore-Ecosystem/mindspore
!23849 [MS][LITE][CPU] nchw common conv bug fix
Merge pull request !23849 from liuzhongkai/nchw_supp
This commit is contained in:
commit
3330a630e8
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue