Sprache

ConvModule(Int32, Int32, Int32, Int32, Int32, Int32, Boolean, Boolean) Konstruktor

Definition

Initialisiert eine neue Instanz der ConvModule-Klasse.

public ConvModule(int inChannel, int outChannel, int kernelSize, int stride = 1, int padding = 0, int dilation = 1, bool bias = true, bool useRelu = true);
new Microsoft.ML.TorchSharp.AutoFormerV2.ConvModule : int * int * int * int * int * int * bool * bool -> Microsoft.ML.TorchSharp.AutoFormerV2.ConvModule
Public Sub New (inChannel As Integer, outChannel As Integer, kernelSize As Integer, Optional stride As Integer = 1, Optional padding As Integer = 0, Optional dilation As Integer = 1, Optional bias As Boolean = true, Optional useRelu As Boolean = true)

Parameter

inChannel
Int32

Die Eingabekanäle der Konvolutionsschicht.

outChannel
Int32

Die Ausgabekanäle der Konvolutionsschicht.

kernelSize
Int32

Die Kernelgröße der Konvolutionsschicht.

stride
Int32

Die Stride der Konvolutionsschicht.

padding
Int32

Der Abstand der Konvolutionsschicht.

dilation
Int32

Die Dilation der Konvolutionsschicht.

bias
Boolean

Die Verzerrung der Konvolutionsschicht.

useRelu
Boolean

Gibt an, ob die Relu-Aktivierungsfunktion verwendet wird.

Gilt für: