Class BinaryCrossEntropyLoss
- Namespace
- NeuralNetworks.Losses
- Assembly
- NeuralNetworks.dll
public class BinaryCrossEntropyLoss : Loss<float[,]>
- Inheritance
-
BinaryCrossEntropyLoss
- Inherited Members
Constructors
BinaryCrossEntropyLoss(float)
public BinaryCrossEntropyLoss(float eps = 1E-07)
Parameters
epsfloat
Methods
CalculateLoss()
protected override float CalculateLoss()
Returns
CalculateLossGradient()
protected override float[,] CalculateLossGradient()
Returns
- float[,]
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.