tf.keras.layers.Conv2DTranspose

Transposed convolution layer (sometimes called Deconvolution).

Inherits From: Conv2D, Layer, Module

Used in the notebooks

Used in the guide Used in the tutorials

The need for transposed convolutions generally arises from the desire to use a transformation going in the opposite direction of a normal convolution, i.e., from something that has the shape of the output of some convolution to something that has the shape of its input while maintaining a connectivity pattern that is compatible with said convolution.

When using this layer as the first layer in a model, provide the keyword argument input_shape<