File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ # deepC compiler tests
2
+
3
+ ## Use Model
4
+
5
+ ``` onnx2exe model.onnx ```
6
+
7
+ 1 . * bundleDir :* dirname("generated exe, i.e. a.out or model.exe");
8
+ 1 . * parameter file(s) :* in bundleDir
9
+ 1 . input file(s) :* with a path relative to current dir.
10
+ 1 . * output file(s) :* in current dir
11
+
12
+ ## Example
13
+
14
+ ``` onnx2cpp mnist.onnx ```
15
+
16
+ ``` console
17
+ > reading onnx model from file mnist.onnx
18
+ > Model info:
19
+ > ir_vesion : 4
20
+ > doc :
21
+ > INFO (ONNX): writing model parameter fc.bias to dir ..
22
+ > INFO (ONNX): writing model parameter fc.weight to dir ..
23
+ > INFO (ONNX): writing model parameter fc2.bias to dir ..
24
+ > INFO (ONNX): writing model parameter fc2.weight to dir ..
25
+ > running DNNC graph sanity check.
26
+ > Writing intermediate file ./mnist.cpp
27
+ > Compiling ...
28
+ > INFO (ONNX): model files are ready in dir .
29
+ ```
You can’t perform that action at this time.
0 commit comments