Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype Activation k = Act {}
- actMap :: (forall a. RealFloat a => a -> a) -> Activation k
- actMap' :: (forall a. RealFloat a => a -> a) -> (forall a. RealFloat a => a -> a) -> Activation k
- actSoftmax :: Activation k
- actLogistic :: Activation k
- logistic :: Floating a => a -> a
- logistic' :: Floating a => a -> a
- softmax :: SingI i => TOp '['[i]] '['[i]]
- squaredError :: forall o. SingI o => TOp '['[o], '[o]] '['[]]
- crossEntropy :: forall o. SingI o => TOp '['[o], '[o]] '['[]]
Documentation
actMap :: (forall a. RealFloat a => a -> a) -> Activation k Source #
actMap' :: (forall a. RealFloat a => a -> a) -> (forall a. RealFloat a => a -> a) -> Activation k Source #
actSoftmax :: Activation k Source #
actLogistic :: Activation k Source #
squaredError :: forall o. SingI o => TOp '['[o], '[o]] '['[]] Source #
crossEntropy :: forall o. SingI o => TOp '['[o], '[o]] '['[]] Source #
Second item in stack is the "target"