Share via


Conv2dBN(Int32, Int32, Int32, Int32, Int32, Int32, Int32) Constructor

Definition

Initializes a new instance of the Conv2dBN class.

public Conv2dBN (int inChannels, int outChannels, int kernalSize = 1, int stride = 1, int padding = 0, int dilation = 1, int groups = 1);
new Microsoft.ML.TorchSharp.AutoFormerV2.Conv2dBN : int * int * int * int * int * int * int -> Microsoft.ML.TorchSharp.AutoFormerV2.Conv2dBN
Public Sub New (inChannels As Integer, outChannels As Integer, Optional kernalSize As Integer = 1, Optional stride As Integer = 1, Optional padding As Integer = 0, Optional dilation As Integer = 1, Optional groups As Integer = 1)

Parameters

inChannels
Int32

The input channels.

outChannels
Int32

The output channels.

kernalSize
Int32

The kernel size of convolution layer.

stride
Int32

The stride of convolution layer.

padding
Int32

The padding of convolution layer.

dilation
Int32

The dilation of convolution layer.

groups
Int32

The groups of convolution layer.

Applies to