@veehz/torch
v0.1.2
Published
machine-learning libraries for Source Academy
Readme
torch
machine-learning libraries for Source Academy
Getting Started
Install yarn:
corepack enable
# or
npm install -g yarnInstall dependencies:
yarn installDemo Usage
First, build it:
yarn buildSee examples/ for examples.
Node
See examples/basic_backpropagation.js.
node examples/basic_backpropagation.jsBrowser
You can run http-server and load examples/browser/index.html to see how it works.
yarn serve
# and navigate to http://localhost:8080/examples/browser/index.html to run torch in js
# or http://localhost:8080/examples/pyodide/index.html to run in python
# or http://localhost:8080/test/ to run the testsContributing
For detailed information on the codebase and tests, see CONTRIBUTING.md.
