다음을 통해 공유


AutoFormerV2Backbone 생성자

정의

AutoFormerV2Backbone 클래스의 새 인스턴스를 초기화합니다.

public AutoFormerV2Backbone (int inChannels = 3, System.Collections.Generic.List<int> embedChannels = default, System.Collections.Generic.List<int> depths = default, System.Collections.Generic.List<int> numHeads = default, System.Collections.Generic.List<int> windowSizes = default, double mlpRatio = 4, double dropRate = 0, double mbconvExpandRatio = 4, System.Collections.Generic.List<int> outIndices = default, bool useShiftWindow = true, bool useInterpolate = false, System.Collections.Generic.List<int> outChannels = default);
new Microsoft.ML.TorchSharp.AutoFormerV2.AutoFormerV2Backbone : int * System.Collections.Generic.List<int> * System.Collections.Generic.List<int> * System.Collections.Generic.List<int> * System.Collections.Generic.List<int> * double * double * double * System.Collections.Generic.List<int> * bool * bool * System.Collections.Generic.List<int> -> Microsoft.ML.TorchSharp.AutoFormerV2.AutoFormerV2Backbone
Public Sub New (Optional inChannels As Integer = 3, Optional embedChannels As List(Of Integer) = Nothing, Optional depths As List(Of Integer) = Nothing, Optional numHeads As List(Of Integer) = Nothing, Optional windowSizes As List(Of Integer) = Nothing, Optional mlpRatio As Double = 4, Optional dropRate As Double = 0, Optional mbconvExpandRatio As Double = 4, Optional outIndices As List(Of Integer) = Nothing, Optional useShiftWindow As Boolean = true, Optional useInterpolate As Boolean = false, Optional outChannels As List(Of Integer) = Nothing)

매개 변수

inChannels
Int32

입력 채널입니다.

embedChannels
List<Int32>

포함 채널입니다.

depths
List<Int32>

각 계층의 블록 수입니다.

numHeads
List<Int32>

BasicLayer의 헤드 수입니다.

windowSizes
List<Int32>

창의 크기입니다.

mlpRatio
Double

MLP의 비율입니다.

dropRate
Double

드롭의 비율입니다.

mbconvExpandRatio
Double

MBConv의 확장 비율입니다.

outIndices
List<Int32>

출력의 인덱스입니다.

useShiftWindow
Boolean

시프트 창을 사용할지 여부입니다.

useInterpolate
Boolean

보간을 사용할지 여부입니다.

outChannels
List<Int32>

각 출력의 채널입니다.

적용 대상