Skip to content
Snippets Groups Projects
Commit 5ef76696 authored by auphelia's avatar auphelia
Browse files

[Notebook] Fix broken tfc end2end verification notebook

parent e50603fc
No related branches found
No related tags found
No related merge requests found
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
"from finn.transformation.fpgadataflow.compile_cppsim import CompileCppSim\n", "from finn.transformation.fpgadataflow.compile_cppsim import CompileCppSim\n",
"from finn.transformation.general import GiveUniqueNodeNames\n", "from finn.transformation.general import GiveUniqueNodeNames\n",
"\n", "\n",
"model_for_npysim = model_for_npysim.transform(GiveUniqueNodeNames())\n", "model_for_cppsim = model_for_cppsim.transform(GiveUniqueNodeNames())\n",
"model_for_cppsim = model_for_cppsim.transform(PrepareCppSim())\n", "model_for_cppsim = model_for_cppsim.transform(PrepareCppSim())\n",
"model_for_cppsim = model_for_cppsim.transform(CompileCppSim())" "model_for_cppsim = model_for_cppsim.transform(CompileCppSim())"
] ]
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
" " " "
], ],
"text/plain": [ "text/plain": [
"<IPython.lib.display.IFrame at 0x7f8dfdb29c18>" "<IPython.lib.display.IFrame at 0x7f776245ac18>"
] ]
}, },
"execution_count": 8, "execution_count": 8,
...@@ -333,8 +333,8 @@ ...@@ -333,8 +333,8 @@
"source": [ "source": [
"from finn.transformation.fpgadataflow.set_exec_mode import SetExecMode\n", "from finn.transformation.fpgadataflow.set_exec_mode import SetExecMode\n",
"\n", "\n",
"model_for_cppsim = model_for_cppsim.transform(SetExecMode(\"cppsim\"))" "model_for_cppsim = model_for_cppsim.transform(SetExecMode(\"cppsim\"))\n",
"model_for_npysim.save(build_dir+\"/tfc_w1_a1_for_cppsim.onnx\")" "model_for_cppsim.save(build_dir+\"/tfc_w1_a1_for_cppsim.onnx\")"
] ]
}, },
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment