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
fix bug of reduce
pull/13794/head
fuzhiye
5 years ago
parent
ab5d77f943
commit
287988553e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/lite/src/runtime/kernel/arm/fp32/reduce_fp32.cc
+ 1
- 1
mindspore/lite/src/runtime/kernel/arm/fp32/reduce_fp32.cc
View File
@@ -125,7 +125,7 @@ int ReduceCPUKernel::Run() {
}
src_data_ = dst_data_;
}
if (reduce_param_->reduce_to_end_ && abs(reduce_param_->coeff
- 1.0f
) > 1e-5) {
if (reduce_param_->reduce_to_end_ && abs(reduce_param_->coeff) > 1e-5) {
ret = CalculateCoeffOutput();
if (ret != RET_OK) {
FreeTmpBuffer();
Write
Preview
Loading…
Cancel
Save