Co-authored-by: Matthew Soulanille <msoulanille@google.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
| index.html | ||
| index.js | ||
| package.json | ||
| worker.js | ||
| yarn.lock | ||
README.md
TensorFlow.js Example: Addition RNN in Webworker
This example uses an RNN to compute (in a worker thread) the addition of two integers by doing string => string translation. Obviously it's not the best way to add two numbers, but it makes a fun example. In this way, we can do long-running computation without blocking the UI thread.
Note: This example is based on the addition-rnn example in this repo, which is based on the original Keras python code here