SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-lang-core
/
sk.ainet.lang.nn.loss
/
CategoricalCrossEntropyLoss
/
CategoricalCrossEntropyLoss
Categorical
Cross
Entropy
Loss
@
JvmOverloads
constructor
(
dim
:
Int
=
-1
)
(
source
)
Parameters
dim
The dimension along which to compute the softmax. Default is -1 (last dimension).