Skip to content

🧪 ConvolutionalTranspose2DLayer

A convolutional transpose 2D Layer.

Parent type: Convolutional2DLayer

Parameters:

Name Type Description Default
outputChannel Int the amount of output channels -
kernelSize Int the size of the kernel -
stride Int the stride of the transposed convolution 1
padding Int the padding of the transposed convolution 0
outputPadding Int the output padding of the transposed convolution 0
Stub code in ConvolutionalTranspose2DLayer.sdsstub

@Experimental
@Category(DataScienceCategory.ModelingQNeuralNetwork)
class ConvolutionalTranspose2DLayer(
    @PythonName("output_channel") outputChannel: Int,
    @PythonName("kernel_size") kernelSize: Int,
    stride: Int = 1,
    padding: Int = 0,
    @PythonName("output_padding") outputPadding: Int = 0
) sub Convolutional2DLayer

inputSize

Get the input_size of this layer.

Type: ModelImageSize

outputSize

Get the output_size of this layer.

Type: ModelImageSize