docs
docs copied to clipboard
formula fix
In the gradient descent with momentum formula, I think the gradient function $L^\prime$ should use $x^{[t-1]}$ to cumpute the new delta.
$$ \Delta_x^{[t]} = lr \cdot L^\prime(x^{[t-1]}) + p \cdot \Delta_x^{[t-1]} $$
Preview
Preview and run these notebook edits with Google Colab: Rendered notebook diffs available on ReviewNB.com.Format and style
Use the TensorFlow docs notebook tools to format for consistent source diffs and lint for style:$ python3 -m pip install -U --user git+https://github.com/tensorflow/docsIf commits are added to the pull request, synchronize your local branch:
$ python3 -m tensorflow_docs.tools.nbfmt notebook.ipynb
$ python3 -m tensorflow_docs.tools.nblint --arg=repo:tensorflow/docs notebook.ipynb
git pull origin patch-1
@MarkDaoust @markmcd PTAL
LGTM. The whole point is to calculate $x^{[t]}$, so that makes sense.
Thanks for the fix.