Definition

Suppose the number of data is and the number of classes is , then the cross entropy loss is defined as