Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 711 Bytes

File metadata and controls

9 lines (6 loc) · 711 Bytes

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

See this example live!