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
paste oops
tags/20180427
nihui
8 years ago
parent
2cc6abde6a
commit
b27cd92dfa
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
tools/onnx/onnx2ncnn.cpp
+ 1
- 1
tools/onnx/onnx2ncnn.cpp
View File
@@ -82,7 +82,7 @@ static std::vector<float> get_node_attr_af(const onnx::NodeProto& node, const ch
if (attr.name() == key)
{
v.resize(attr.floats_size());
for (int j=0; j<attr.
in
ts_size(); j++)
for (int j=0; j<attr.
floa
ts_size(); j++)
{
v[j] = attr.floats(j);
}
Write
Preview
Loading…
Cancel
Save