Table of Contents

Class SoftmaxCrossEntropyLoss

Namespace
NeuralNetworks.Losses
Assembly
NeuralNetworks.dll

Categorical Cross-Entropy Loss combined with Softmax activation function.

public class SoftmaxCrossEntropyLoss : Loss2D
Inheritance
SoftmaxCrossEntropyLoss
Inherited Members

Constructors

SoftmaxCrossEntropyLoss(float)

Categorical Cross-Entropy Loss combined with Softmax activation function.

public SoftmaxCrossEntropyLoss(float eps = 1E-07)

Parameters

eps float

Methods

CalculateLoss()

protected override float CalculateLoss()

Returns

float

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.