Github url

conv_arithmetic

by vdumoulin

vdumoulin /conv_arithmetic

A technical report on convolution arithmetic in the context of deep learning

9.2K Stars 1.7K Forks Last release: over 4 years ago (v1) MIT License 114 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Convolution arithmetic

A technical report on convolution arithmetic in the context of deep learning.

The code and the images of this tutorial are free to use as regulated by the licence and subject to proper attribution:

Convolution animations

N.B.: Blue maps are inputs, and cyan maps are outputs.

| | | | | | No padding, no strides | Arbitrary padding, no strides | Half padding, no strides | Full padding, no strides | | | | | | | No padding, strides | Padding, strides | Padding, strides (odd) | |

Transposed convolution animations

N.B.: Blue maps are inputs, and cyan maps are outputs.

| | | | | | No padding, no strides, transposed | Arbitrary padding, no strides, transposed | Half padding, no strides, transposed | Full padding, no strides, transposed | | | | | | | No padding, strides, transposed | Padding, strides, transposed | Padding, strides, transposed (odd) | |

Dilated convolution animations

N.B.: Blue maps are inputs, and cyan maps are outputs.

| | | No padding, no stride, dilation |

Generating the Makefile

From the repository's root directory:

$ ./bin/generate\_makefile

Generating the animations

From the repository's root directory:

$ make all\_animations

The animations will be output to the

gif

directory. Individual animation steps will be output in PDF format to the

pdf

directory and in PNG format to the

png

directory.

Compiling the document

From the repository's root directory:

$ make

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.