Partilhar via


MLP(Int32, Nullable<Int32>, Nullable<Int32>, Double) Construtor

Definição

Inicializa uma nova instância da classe MLP.

public MLP (int inFeatures, int? hiddenFeatures = default, int? outFeatures = default, double dropRatio = 0);
new Microsoft.ML.TorchSharp.AutoFormerV2.MLP : int * Nullable<int> * Nullable<int> * double -> Microsoft.ML.TorchSharp.AutoFormerV2.MLP
Public Sub New (inFeatures As Integer, Optional hiddenFeatures As Nullable(Of Integer) = Nothing, Optional outFeatures As Nullable(Of Integer) = Nothing, Optional dropRatio As Double = 0)

Parâmetros

inFeatures
Int32

Os canais de entrada dos recursos.

hiddenFeatures
Nullable<Int32>

Os canais de camada ocultos dos recursos.

outFeatures
Nullable<Int32>

Os canais de saída dos recursos.

dropRatio
Double

A taxa de queda.

Aplica-se a