tensorflow Conv2DTranspose summary param # Questions about the result

What Does model.summary() Show for Conv2DTranspose?

 

Let’s break it down:

 

Formula to Calculate Trainable Parameters:

 

For a Conv2DTranspose layer, the number of trainable parameters is:

(filter_height × filter_width × output_channels × input_channels) + output_channels (biases)

 

Example:

 

Conv2DTranspose(filters=32, kernel_size=(3, 3), input_shape=(64, 64, 16), use_bias=True)

 

  • filters = 32 → this is the number of output channels

  • input_channels = 16

  • Kernel size = 3×3 = 9

Weights = 3 × 3 × 32 × 16 = 4608
Biases = 32
Total parameters = 4640