Skip to content

Commit

Permalink
feat: visualizer
Browse files Browse the repository at this point in the history
  • Loading branch information
load1n9 committed Oct 18, 2023
1 parent db6752f commit 93f2ea2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/visualize.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
}
],
"source": [
"import { tensor1D } from \"../mod.ts\";\n",
"import { Visualizer } from \"../visualizer/mod.ts\";\n",
"import { tensor1D } from \"https://deno.land/x/[email protected]/mod.ts\";\n",
"import { Visualizer } from \"https://deno.land/x/[email protected]/visualizer/mod.ts\";\n",
"\n",
"import {\n",
" Cost,\n",
Expand Down
8 changes: 4 additions & 4 deletions examples/xor.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}
],
"source": [
"import { setupBackend, CPU } from \"https://deno.land/x/[email protected].8/mod.ts\";\n",
"import { setupBackend, CPU } from \"https://deno.land/x/[email protected].9/mod.ts\";\n",
"await setupBackend(CPU);"
]
},
Expand Down Expand Up @@ -68,7 +68,7 @@
}
],
"source": [
"import { setupBackend, WASM } from \"https://deno.land/x/[email protected].8/mod.ts\";\n",
"import { setupBackend, WASM } from \"https://deno.land/x/[email protected].9/mod.ts\";\n",
"await setupBackend(WASM);"
]
},
Expand All @@ -92,7 +92,7 @@
"metadata": {},
"outputs": [],
"source": [
"import { setupBackend, GPU } from \"https://deno.land/x/[email protected].8/mod.ts\";\n",
"import { setupBackend, GPU } from \"https://deno.land/x/[email protected].9/mod.ts\";\n",
"await setupBackend(GPU);"
]
},
Expand All @@ -109,7 +109,7 @@
"metadata": {},
"outputs": [],
"source": [
"import { Sequential, DenseLayer, SigmoidLayer, Cost, tensor2D, tensor1D } from \"https://deno.land/x/[email protected].8/mod.ts\";\n",
"import { Sequential, DenseLayer, SigmoidLayer, Cost, tensor2D, tensor1D } from \"https://deno.land/x/[email protected].9/mod.ts\";\n",
"const net = new Sequential({\n",
" /**\n",
" * The number of minibatches is set to 4 and the output size is set to 2.\n",
Expand Down

0 comments on commit 93f2ea2

Please sign in to comment.