grenade-0.1.0: Practical Deep Learning in Haskell

Copyright(c) Huw Campbell 2016-2017
LicenseBSD2
Stabilityexperimental
Safe HaskellNone
LanguageHaskell98

Grenade.Layers.Softmax

Description

 

Synopsis

Documentation

data Softmax Source #

A Softmax layer

This layer is like a logit layer, but normalises a set of matricies to be probabilities.

One can use this layer as the last layer in a network if they need normalised probabilities.

Constructors

Softmax 

Instances

softmax :: KnownNat i => R i -> R i Source #

softmax' :: KnownNat i => R i -> R i -> R i Source #