forked from webmachinelearning/webnn-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NNotepad: fix load(), add zeros(), improve tensor output display (web…
…machinelearning#247) - The load() helper was broken when the scripts were converted to modules, and also when array parsing was updated. Oops! Fix it. - Add zeros() helper that creates a zero-initized tensor of the given shape. Useful for testing shape display. - Ensure tensor output spaces n-dimensions tensors the same as numpy - more spaces between each layer. - Ensure tensor output handles 0-sized dimensions.
- Loading branch information
1 parent
1e0ad50
commit 919aa9f
Showing
4 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters