ILossFunction<TOutput,TLabel> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public interface ILossFunction<in TOutput,in TLabel>
type ILossFunction<'Output, 'Label> = interface
Public Interface ILossFunction(Of In TOutput, In TLabel)
Type Parameters
- TOutput
- TLabel
- Derived
Methods
Loss(TOutput, TLabel) |
Computes the loss given the output and the ground truth. Note that the return value has type Double because the loss is usually accumulated over many instances. |