Udostępnij przez


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

Definicja

Inicjuje nowe wystąpienie klasy ConvModule.

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)

Parametry

inChannel
Int32

Kanały wejściowe warstwy konwolucji.

outChannel
Int32

Kanały wyjściowe warstwy konwolucji.

kernelSize
Int32

Rozmiar jądra warstwy konwolucji.

stride
Int32

Krok warstwy splotu.

padding
Int32

Dopełnienie warstwy konwolucji.

dilation
Int32

Dylatacja warstwy splotu.

bias
Boolean

Stronniczość warstwy konwolucji.

useRelu
Boolean

Czy używasz funkcji aktywacji relu.

Dotyczy