Partager via


ConvLayer(Int32, Int32, Int32, Double) Constructeur

Définition

Initialise une nouvelle instance de la classe 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)

Paramètres

inChannels
Int32

Canaux d’entrée.

outChannels
Int32

Canaux de sortie.

depth
Int32

Nombre de blocs.

convExpandRatio
Double

Ratio d’expansion de la couche de convolution.

S’applique à