Creates a cross entropy loss term suitable for multiclass classification problems.
It is assumed that the two input operations are rank-2 tensors, where the first dimension is an index into the
batch, and the second index is the index into the label probabilities.
Creates a cross entropy loss term suitable for multiclass classification problems.
It is assumed that the two input operations are rank-2 tensors, where the first dimension is an index into the batch, and the second index is the index into the label probabilities.