Skip to content

Instantly share code, notes, and snippets.

@Alescontrela
Created June 15, 2018 04:21
Show Gist options
  • Save Alescontrela/11fa60d9e62379d093f762f54ef662a1 to your computer and use it in GitHub Desktop.
Save Alescontrela/11fa60d9e62379d093f762f54ef662a1 to your computer and use it in GitHub Desktop.
z = w3.dot(fc) + b3 # first dense layer
z[z<=0] = 0 # pass through ReLU non-linearity
out = w4.dot(z) + b4 # second dense layer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment