共用方式為


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

捲積層的展開比例。

適用於