Fork me on GitHub

src/arraymancer/nn_primitives/nnp_softmax

Search:
Group by:
  Source Edit

Procs

proc softmax[T](input: Tensor[T]): Tensor[T] {.noinit.}

For each sample in a tensor: do an exponential normalization of each of its class features xi exp(xi) / ∑i exp(xi)

Input:

Output:

  Source Edit
Arraymancer Technical reference Tutorial Spellbook (How-To's) Under the hood