0 | module NN.Architectures.Activations
8 | relu : Ord a => Num a => a -> a
12 | sigmoid : Fractional a => Exp a => a -> a
13 | sigmoid x = ex / (1 + ex) where ex = exp x
18 | relu : Ord a => Num a => {shape : TensorShape rank} ->
19 | Tensor shape a -> Tensor shape a
23 | sigmoid : Fractional a => Exp a =>
24 | {0 shape : TensorShape rank} ->
25 | Tensor shape a -> Tensor shape a
26 | sigmoid t = sigmoid <$> t