This repo is the code used in my blog post introducing how to run Tensorflow.js on a WebAssembly backend which is a new addition to its greatness.
Clone the repository:
git clone https://github.com/yashints/tjfs-wasm-demoInstall the dependencies using npm or yarn:
npm install
# or
yarnRun the app:
yarn watchThe app opens in a new browser window/tab.
Simply comment the below line in index.js file and run the app again:
await tf.setBackend("wasm");