Skip to content

Latest commit

 

History

History
 
 

addition-rnn-webworker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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!