MLP(Int32, Nullable<Int32>, Nullable<Int32>, Double) 建構函式

定義

初始化 MLP 類別的新執行個體。

C#
public MLP(int inFeatures, int? hiddenFeatures = default, int? outFeatures = default, double dropRatio = 0);

參數

inFeatures
Int32

特徵的輸入通道。

hiddenFeatures
Nullable<Int32>

特徵的隱藏層通道。

outFeatures
Nullable<Int32>

功能的輸出通道。

dropRatio
Double

下降比例。

適用於

產品 版本
ML.NET 3.0.0, 4.0.0, Preview