Fork me on GitHub
Arraymancer Technical reference Tutorial Spellbook (How-To's) Under the hood

cross_entropy_losses

Types

SigmoidCrossEntropyLoss {...}{.inject, final.}[TT] = ref object of Gate[TT]
  target: TT
  cache: Variable[TT]
  Source Edit
SoftmaxCrossEntropyLoss {...}{.inject, final.}[TT] = ref object of Gate[TT]
  target: TT
  cache: Variable[TT]
  Source Edit
SparseSoftmaxCrossEntropyLoss {...}{.final.}[TT; Idx] = ref object of Gate[TT]
  target: Tensor[Idx]
  cache: Variable[TT]
  Source Edit

Procs

proc sigmoid_cross_entropy[TT](a469077: Variable[TT]; target469079: TT): Variable[TT]
  Source Edit
proc softmax_cross_entropy[TT](a469144: Variable[TT]; target469146: TT): Variable[TT]
  Source Edit
proc sparse_softmax_crossentropy[TT; Idx: SomeNumber or byte or char or enum](
    a: Variable[TT]; target: Tensor[Idx]): Variable[TT]
  Source Edit