ConvLayer(Int32, Int32, Int32, Double) 构造函数

定义

初始化 ConvLayer 类的新实例。

public ConvLayer(int inChannels, int outChannels, int depth, double convExpandRatio = 4);
new Microsoft.ML.TorchSharp.AutoFormerV2.ConvLayer : int * int * int * double -> Microsoft.ML.TorchSharp.AutoFormerV2.ConvLayer
Public Sub New (inChannels As Integer, outChannels As Integer, depth As Integer, Optional convExpandRatio As Double = 4)

参数

inChannels
Int32

输入通道。

outChannels
Int32

输出通道。

depth
Int32

块数。

convExpandRatio
Double

卷积层的扩展比。

适用于