loss/cross_entropy library

Functions

crossEntropy(Tensor logits, List<int> targets, int vocabSize) Tensor