Browse Source

!13071 [MS][LITE]clean codex

From: @fuzhiye
Reviewed-by: @zhang_xue_tong,@zhanghaibo5
Signed-off-by: @zhang_xue_tong
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 4 years ago
parent
commit
99b048fd49
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/lite/src/runtime/kernel/arm/fp16/convolution_delegate_fp16.cc

+ 1
- 1
mindspore/lite/src/runtime/kernel/arm/fp16/convolution_delegate_fp16.cc View File

@@ -112,7 +112,7 @@ kernel::LiteKernel *CpuConvDwFp16KernelCreator(const std::vector<lite::Tensor *>
TypeId origin_weight_data_type, TypeId origin_bias_data_type) { TypeId origin_weight_data_type, TypeId origin_bias_data_type) {
MS_ASSERT(opParameter != nullptr); MS_ASSERT(opParameter != nullptr);
auto conv_param = reinterpret_cast<ConvParameter *>(opParameter); auto conv_param = reinterpret_cast<ConvParameter *>(opParameter);
kernel::LiteKernel *kernel;
kernel::LiteKernel *kernel = nullptr;
if (conv_param->input_channel_ < 32) { if (conv_param->input_channel_ < 32) {
kernel = new (std::nothrow) kernel::ConvolutionDepthwiseSWFp16CPUKernel( kernel = new (std::nothrow) kernel::ConvolutionDepthwiseSWFp16CPUKernel(
opParameter, inputs, outputs, ctx, origin_weight, origin_bias, origin_weight_data_type, origin_bias_data_type); opParameter, inputs, outputs, ctx, origin_weight, origin_bias, origin_weight_data_type, origin_bias_data_type);


Loading…
Cancel
Save