This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
nihui
/
ncnn
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
46
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix parameter check for interp (
#425
)
tags/20180704
kyuusaku
nihui
8 years ago
parent
90643630c2
commit
d2416187dc
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/layer/interp.cpp
+ 1
- 1
src/layer/interp.cpp
View File
@@ -48,7 +48,7 @@ int Interp::forward(const Mat &bottom_blob, Mat &top_blob) const
w = 1;
c = bottom_blob.w;
}
if (o
w
== 0 || ow == 0)
if (o
h
== 0 || ow == 0)
{
oh = h * height_scale;
ow = w * width_scale;
Write
Preview
Loading…
Cancel
Save