Skip to content

Instantly share code, notes, and snippets.

@Alescontrela
Created June 15, 2018 00:51
Show Gist options
  • Save Alescontrela/edc7eab9e57a81a53e2fc7bc2760755f to your computer and use it in GitHub Desktop.
Save Alescontrela/edc7eab9e57a81a53e2fc7bc2760755f to your computer and use it in GitHub Desktop.
(nf2, dim2, _) = pooled.shape
fc = pooled.reshape((nf2 * dim2 * dim2, 1)) # flatten pooled layer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment