Skip to content

Latest commit

 

History

History
112 lines (61 loc) · 2.33 KB

plot_sgd.rst

File metadata and controls

112 lines (61 loc) · 2.33 KB

html

Note

Click here <sphx_glr_download_auto_examples_plot_sgd.py> to download the full example code

sphx-glr-example-title

Basic gradient descent (and reset)

demonstration on how to compute a gradient and apply a basic gradient update rule to minimize some loss function

plot sgd

sphx-glr-script-out

Out:

/home/vrael/anaconda3/lib/python3.7/site-packages/jax/lib/xla_bridge.py:130: UserWarning: No GPU/TPU found, falling back to CPU.
  warnings.warn('No GPU/TPU found, falling back to CPU.')

sphx-glr-timing

Total running time of the script: ( 0 minutes 0.278 seconds)

html