This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
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
f89387f9b6
8efde6f09a
commit
9733780f4b
2 changed files
with
5 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-5
mindspore/lite/src/runtime/kernel/arm/base/convolution_base.cc
+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) {
Write
Preview
Loading…
Cancel
Save