ILossFunction<TOutput,TLabel>.Loss(TOutput, TLabel) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
計算輸出與地面真實值的損耗。 請注意,回退值的型別為 Double,因為損失通常是累積於多個實例中。
public double Loss(TOutput output, TLabel label);
abstract member Loss : 'Output * 'Label -> double
Public Function Loss (output As TOutput, label As TLabel) As Double
參數
- output
- TOutput
- label
- TLabel