MseLoss

public string Name

Language: C#

public LossReduction Reduction { get; }

Language: C#

public MseLoss(LossReduction reduction = LossReduction.Mean, IGpuMathOps? gpuOps = null)

Language: C#

public async Task<float> ComputeLossAsync(INeuralTensor predictions, INeuralTensor targets, CancellationToken cancellationToken = default)

Language: C#

public async Task<INeuralTensor> ComputeGradientAsync(INeuralTensor predictions, INeuralTensor targets, CancellationToken cancellationToken = default)

Language: C#