Conv2dBN(Int32, Int32, Int32, Int32, Int32, Int32, Int32) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 Conv2dBN 类的新实例。
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)
参数
- inChannels
- Int32
输入通道。
- outChannels
- Int32
输出通道。
- kernalSize
- Int32
卷积层的内核大小。
- stride
- Int32
卷积层的步长。
- padding
- Int32
卷积层的填充。
- dilation
- Int32
卷积层的扩张。
- groups
- Int32
卷积层组。