History

dnn: add tf.nn.conv2d support for native model

Unlike other tf.*.conv2d layers, tf.nn.conv2d does not create many nodes (within a scope) in the graph, it just acts like other layers. tf.nn.conv2d only creates one node in the graph, and no internal nodes such as 'kernel' are created. The format of native model file is also changed, a flag named has_bias is added, so change the version number.

Guo, Yejun committed 7 years ago

Commit dff39ea1 parent a269fa06 files · +82 −18Browse files

Showing the changes to tools/python/convert_header.py (1 of 6 files). Show all

Unified · Split

tools/python/convert_header.py+2−2
@@ -20,7 +20,7 @@ · 19 unmodified lines
2020 str = 'FFMPEGDNNNATIVE'
2121
2222 # increase major and reset minor when we have to re-convert the model file
23−major = 0
23+major = 1
2424
2525 # increase minor when we don't have to re-convert the model file
26−minor = 2
26+minor = 0

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t