crossEntropyLoss

fun crossEntropyLoss(logits: Tensor, targets: IntArray, ignoreIndex: Int = IGNORE_INDEX): Tensor(source)
fun crossEntropyLoss(logits: Tensor, targets: Tensor, ignoreIndex: Int = IGNORE_INDEX): Tensor(source)