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 bitwise operator warnings
pull/14949/head
Xiao Tianci
4 years ago
parent
99a5dacdc7
commit
018ac4ca78
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/gaussian_blur.cc
+ 1
- 1
mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/gaussian_blur.cc
View File
@@ -39,7 +39,7 @@ static void GetGaussianKernel(float *kernel, int size, double sigma) {
sum += g;
}
sum = sum * 2 + 1;
if (
(size & 1)
== 0) {
if (
size % 2
== 0) {
sum += 1;
}
Write
Preview
Loading…
Cancel
Save