# ILossFunction<TOutput,TLabel> Interface

## Definition

public interface ILossFunction<in TOutput,in TLabel>
type ILossFunction<'Output, 'Label> = interface
Public Interface ILossFunction(Of In TOutput, In TLabel)

TOutput
TLabel
Derived

## Methods

 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.