Skip to content

Computer Vision

Transposed Convolution

Ref: https://d2l.ai/chapter_computer-vision/transposed-conv.html

Transposed convolution with a \(2 \times 2\) kernel. The shaded portions are a portion of an intermediate tensor as well as the input and kernel tensor elements used for the computation.¶

Transposed Convolution

Transposed convolution with a \(2 \times 2\) kernel with stride of 2.

Transposed Convolution with Stride 2

Emulated with direct convolution

Ref: https://github.com/vdumoulin/conv_arithmetic/blob/master/README.md

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)

Comments