Constructor ConvTranspose
ConvTranspose(string, string, string, string, int[], int[], AutoPad, int[], int[], FusableActivation)
Initializes and returns an instance of ConvTranspose
convolution layer.
Declaration
public ConvTranspose(string name, string input, string kernel, string bias, int[] strides, int[] pads, AutoPad autoPad, int[] outputPadding, int[] kernelShape = null, FusableActivation fusedActivation = FusableActivation.None)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name to use for the output tensor of the layer. |
string | input | The name to use for the input tensor of the layer. |
string | kernel | The name to use for the filter tensor of the layer. |
string | bias | The name to use for the optional bias tensor of the layer. |
int[] | strides | The optional stride value for each spatial dimension of the filter. |
int[] | pads | The optional lower and upper padding values for each spatial dimension of the filter. |
Auto |
autoPad | The auto padding mode of the convolution. |
int[] | outputPadding | The output padding value for each spatial dimension in the filter. |
int[] | kernelShape | The shape of the kernel as an integer array. |
Fusable |
fusedActivation | The fused activation type to apply after the convolution. The default value is |
ConvTranspose(string, string, string, int[], int[], AutoPad, int[], int[], FusableActivation)
Initializes and returns an instance of ConvTranspose
convolution layer.
Declaration
public ConvTranspose(string name, string input, string kernel, int[] strides, int[] pads, AutoPad autoPad, int[] outputPadding, int[] kernelShape = null, FusableActivation fusedActivation = FusableActivation.None)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name to use for the output tensor of the layer. |
string | input | The name to use for the input tensor of the layer. |
string | kernel | The name to use for the filter tensor of the layer. |
int[] | strides | The optional stride value for each spatial dimension of the filter. |
int[] | pads | The optional lower and upper padding values for each spatial dimension of the filter. |
Auto |
autoPad | The auto padding mode of the convolution. |
int[] | outputPadding | The output padding value for each spatial dimension in the filter. |
int[] | kernelShape | The shape of the kernel as an integer array. |
Fusable |
fusedActivation | The fused activation type to apply after the convolution. The default value is |