共用方式為


IScalarLoss 介面

定義

public interface IScalarLoss : Microsoft.ML.Trainers.ILossFunction<float,float>
type IScalarLoss = interface
    interface ILossFunction<single, single>
Public Interface IScalarLoss
Implements ILossFunction(Of Single, Single)
衍生
實作

方法

Derivative(Single, Single)

與輸出相關的遺失函式衍生

Loss(TOutput, TLabel)

計算輸出和基礎事實的遺失。 請注意,傳回值的類型為 Double,因為遺失通常會累積在許多實例上。

(繼承來源 ILossFunction<TOutput,TLabel>)

適用於