ConvModule(Int32, Int32, Int32, Int32, Int32, Int32, Boolean, Boolean) Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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 Faltungsebene.
- outChannel
- Int32
Die Ausgabekanäle der Faltungsschicht.
- kernelSize
- Int32
Die Kernelgröße der Faltungsschicht.
- stride
- Int32
Der Schritt der Faltungsschicht.
- padding
- Int32
Die Auffüllung der Faltungsschicht.
- dilation
- Int32
Die Erweiterung der Konvolutionsschicht.
- bias
- Boolean
Die Verzerrung der Faltungsschicht.
- useRelu
- Boolean
Gibt an, ob die Relu-Aktivierungsfunktion verwendet wird.