Browse Source

!7551 [MS][LITE][CPU]move funcs

Merge pull request !7551 from fuzhiye/tmp
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
9733780f4b
2 changed files with 5 additions and 5 deletions
  1. +0
    -5
      mindspore/lite/src/runtime/kernel/arm/base/convolution_base.cc
  2. +5
    -0
      mindspore/lite/src/runtime/kernel/arm/int8/convolution_int8.cc

+ 0
- 5
mindspore/lite/src/runtime/kernel/arm/base/convolution_base.cc View File

@@ -330,11 +330,6 @@ int ConvolutionBaseCPUKernel::SetQuantParam() {
MS_LOG(ERROR) << "Set if per tensor channel failed.";
return ret;
}
ret = SetIfAsymmetric();
if (ret != RET_OK) {
MS_LOG(ERROR) << "Set if per asymmetric failed.";
return ret;
}

ret = SetQuantMultiplier();
if (ret != RET_OK) {


+ 5
- 0
mindspore/lite/src/runtime/kernel/arm/int8/convolution_int8.cc View File

@@ -271,6 +271,11 @@ int ConvolutionInt8CPUKernel::Init() {
return RET_ERROR;
}
} else {
ret = SetIfAsymmetric();
if (ret != RET_OK) {
MS_LOG(ERROR) << "Set if per asymmetric failed.";
return ret;
}
// init for situation that not support sdot
ret = InitWeightBias();
if (ret != RET_OK) {


Loading…
Cancel
Save