reading onnx model from file /mnt/d/model.onnx
Model info:
ir_vesion : 6
doc :
INFO (ONNX): writing model parameter linear1.bias to dir /mnt/d.
INFO (ONNX): writing model parameter linear1.weight to dir /mnt/d.
INFO (ONNX): writing model parameter linear2.bias to dir /mnt/d.
INFO (ONNX): writing model parameter linear2.weight to dir /mnt/d.
running DNNC graph sanity check.
ERROR (GRAPH): some of graph torch-jit-export's node Gemm_0's
outputs are not connected to other nodes in the graph.
ERROR (GRAPH): some of graph torch-jit-export's node Gemm_2's
outputs are not connected to other nodes in the graph.
FAILED. Please check your model.
Writing C++ file /mnt/d/model.cpp
ERROR (CODEGEN): cound not find all nodes for Gemm_0,
an instance of Gemm.
Please check model's sanity and try again.
ERROR (CODEGEN): cound not find all nodes for Gemm_2,
an instance of Gemm.
Please check model's sanity and try again.
INFO (ONNX): model files are ready in dir /mnt/d
g++ -O3 -I /home/user/.local/lib/python3.6/site-packages/deepC/include -isystem /home/user/.local/lib/python3.6/site-packages/deepC/packages/eigen-eigen-323c052e1731 /mnt/d/model.cpp -o /mnt/d/model.exe
/mnt/d/model.cpp: In function ‘int main(int, char**)’:
/mnt/d/model.cpp:34:50: error: ‘dnnc_Gemm_0_5’ was not declared in this scope
tensor dnnc_Relu_1_6 = Relu_1.compute ( dnnc_Gemm_0_5);
^~~~~
/mnt/d/model.cpp:34:50: note: suggested alternative: ‘dnnc_Relu_1_6’
tensor dnnc_Relu_1_6 = Relu_1.compute ( dnnc_Gemm_0_5);
^~~~~
dnnc_Relu_1_6
reading onnx model from file /mnt/d/model.onnx Model info: ir_vesion : 6 doc : INFO (ONNX): writing model parameter linear1.bias to dir /mnt/d. INFO (ONNX): writing model parameter linear1.weight to dir /mnt/d. INFO (ONNX): writing model parameter linear2.bias to dir /mnt/d. INFO (ONNX): writing model parameter linear2.weight to dir /mnt/d. running DNNC graph sanity check. ERROR (GRAPH): some of graph torch-jit-export's node Gemm_0's outputs are not connected to other nodes in the graph. ERROR (GRAPH): some of graph torch-jit-export's node Gemm_2's outputs are not connected to other nodes in the graph. FAILED. Please check your model. Writing C++ file /mnt/d/model.cpp ERROR (CODEGEN): cound not find all nodes for Gemm_0, an instance of Gemm. Please check model's sanity and try again. ERROR (CODEGEN): cound not find all nodes for Gemm_2, an instance of Gemm. Please check model's sanity and try again. INFO (ONNX): model files are ready in dir /mnt/d g++ -O3 -I /home/user/.local/lib/python3.6/site-packages/deepC/include -isystem /home/user/.local/lib/python3.6/site-packages/deepC/packages/eigen-eigen-323c052e1731 /mnt/d/model.cpp -o /mnt/d/model.exe /mnt/d/model.cpp: In function ‘int main(int, char**)’: /mnt/d/model.cpp:34:50: error: ‘dnnc_Gemm_0_5’ was not declared in this scope tensor dnnc_Relu_1_6 = Relu_1.compute ( dnnc_Gemm_0_5);
^ dnnc_Relu_1_6 = Relu_1.compute ( dnnc_Gemm_0_5);
^
~~~~ /mnt/d/model.cpp:34:50: note: suggested alternative: ‘dnnc_Relu_1_6’ tensor~~~~ dnnc_Relu_1_6dnnc compilation failed. please file this bug with model/script file at https://github.com/ai-techsystems/dnnCompiler/issues