File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 36
36
"outputs" : [],
37
37
"source" : [
38
38
" import onnx\n " ,
39
- " from qonnx.basic. util import qonnx_make_model\n " ,
39
+ " from qonnx.util.basic import qonnx_make_model\n " ,
40
40
" \n " ,
41
41
" Add1_node = onnx.helper.make_node(\n " ,
42
42
" 'Add',\n " ,
608
608
"metadata" : {},
609
609
"outputs" : [],
610
610
"source" : [
611
- " onnx_model1 = onnx .qonnx_make_model(graph, producer_name=\" simple-model1\" )\n " ,
611
+ " onnx_model1 = qonnx.util.basic .qonnx_make_model(graph, producer_name=\" simple-model1\" )\n " ,
612
612
" onnx.save(onnx_model1, '/tmp/simple_model1.onnx')"
613
613
]
614
614
},
656
656
],
657
657
"metadata" : {
658
658
"kernelspec" : {
659
- "display_name" : " venv " ,
659
+ "display_name" : " Python 3 (ipykernel) " ,
660
660
"language" : " python" ,
661
661
"name" : " python3"
662
662
},
670
670
"name" : " python" ,
671
671
"nbconvert_exporter" : " python" ,
672
672
"pygments_lexer" : " ipython3" ,
673
- "version" : " 3.8.16 "
673
+ "version" : " 3.8.18 "
674
674
},
675
675
"vscode" : {
676
676
"interpreter" : {
679
679
}
680
680
},
681
681
"nbformat" : 4 ,
682
- "nbformat_minor" : 2
682
+ "nbformat_minor" : 4
683
683
}
Original file line number Diff line number Diff line change @@ -8,5 +8,8 @@ git clone https://github.com/fastmachinelearning/qonnx
8
8
cd qonnx
9
9
virtualenv -p python3.8 venv
10
10
source venv/bin/activate
11
- pip install -e .[testing, docs, notebooks]
11
+ pip install -e .[testing,docs,notebooks]
12
+ cd notebooks
13
+ jupyter notebook .
14
+ # follow the link printed in the console to bring up Jupyter
12
15
```
You can’t perform that action at this time.
0 commit comments