Skip to content

Commit

Permalink
backend gpu support demo complete
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoleao052 committed Jul 19, 2024
1 parent a25e261 commit a516d99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/demo/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neural Network Demo</title>

<!-- <script src="bundle.js"></script> -->
<script src="bundle.js"></script>
<script type="module" src="index.js"></script>

<link rel="stylesheet" href="demo.css">
Expand Down
2 changes: 2 additions & 0 deletions assets/demo/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const fs = require('fs');

function getShape(data, shape = []) {
if (data instanceof Array && data.length === 0) {
return [0];
Expand Down

0 comments on commit a516d99

Please sign in to comment.