Skip to content

Instantly share code, notes, and snippets.

@emilemathieu
Last active August 9, 2018 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emilemathieu/8525404649bb6c786243225d4f66c77d to your computer and use it in GitHub Desktop.
Save emilemathieu/8525404649bb6c786243225d4f66c77d to your computer and use it in GitHub Desktop.
layer._weight = optimizer(id(layer), 'weight', layer._weight, layer._grad_weight)
layer._bias = optimizer(id(layer), 'bias', layer._bias, layer._grad_bias)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment