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.
Showing the changes to tools/python/convert_header.py (1 of 6 files). Show all
Unified · Split
| @@ -20,7 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | str = 'FFMPEGDNNNATIVE' |
| 21 | 21 | |
| 22 | 22 | # increase major and reset minor when we have to re-convert the model file |
| 23 | −major = 0 | |
| 23 | +major = 1 | |
| 24 | 24 | |
| 25 | 25 | # increase minor when we don't have to re-convert the model file |
| 26 | −minor = 2 | |
| 26 | +minor = 0 | |