Skip to content

Commit

Permalink
fixed nn.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kmheckel committed Feb 17, 2024
1 parent ae2a27d commit 97ff1f9
Show file tree
Hide file tree
Showing 14 changed files with 3,506 additions and 930 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
project = 'Spyx'
copyright = '2023, Kade Heckel'
author = 'Kade Heckel'
release = 'v0.1.17'
release = 'v0.1.18'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion research/paper/NMNIST_jax.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
" grad_params, opt_state = state\n",
" events, targets = data # fix this\n",
" events = jnp.unpackbits(events, axis=1) # decompress temporal axis\n",
" # compute loss and gradient # need better augment rng\n",
" # compute loss and gradient\n",
" loss, grads = surrogate_grad(grad_params, events, targets)\n",
" # generate updates based on the gradients and optimizer\n",
" updates, opt_state = opt.update(grads, opt_state, grad_params)\n",
Expand Down
Loading

0 comments on commit 97ff1f9

Please sign in to comment.