Skip to content

Instantly share code, notes, and snippets.

@cbecker
Last active November 2, 2016 10:12
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 cbecker/54c41eae2bad7b508df4ec1fe4956edc to your computer and use it in GitHub Desktop.
Save cbecker/54c41eae2bad7b508df4ec1fe4956edc to your computer and use it in GitHub Desktop.

layers.Conv2DLayer

Stride is equivalent to convolution + sub-sampling, in that order.

layers.TransposedConv2DLayer

Stride places zeroes between elements, then convolves with desired filter. I would recommend using crop='same'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment