/RNN-Addition

tensorflow.js

Primary LanguageCSS

Copy from TensorFlow.js

由于tensorflow.js涉及很多机器学习的概念, 因此代码很难看懂. 为了方便阅读, 我做了非常详尽的注释. 几乎每一行都有注释, 这样解读起来也就不会费劲.

TensorFlow.js Example: Addition RNN

This example uses an RNN to compute 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.

Note: this example is a port of the Keras addition RNN example with a UI.

You can find the original Keras python code here.

See this example live!