Skip to content

Instantly share code, notes, and snippets.

@farrajota
Created January 27, 2016 23:41
Show Gist options
  • Save farrajota/e5ebe0726535c9049a9e to your computer and use it in GitHub Desktop.
Save farrajota/e5ebe0726535c9049a9e to your computer and use it in GitHub Desktop.
how to disable learning on a layer
m.updateGradInput = function(self,i,o) end -- for the gradInput
m.accGradParameters = function(self,i,o) end -- for freezing the parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment