grenade-0.1.0: Practical Deep Learning in Haskell

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

Grenade.Layers.Logit

Description

 

Synopsis

Documentation

data Logit Source #

A Logit layer.

A layer which can act between any shape of the same dimension, perfoming an sigmoid function. This layer should be used as the output layer of a network for logistic regression (classification) problems.

Constructors

Logit 

Instances

Show Logit Source # 

Methods

showsPrec :: Int -> Logit -> ShowS #

show :: Logit -> String #

showList :: [Logit] -> ShowS #

Serialize Logit Source # 

Methods

put :: Putter Logit #

get :: Get Logit #

UpdateLayer Logit Source # 
((~) Shape a b, SingI Shape a) => Layer Logit a b Source # 

Associated Types

type Tape Logit (a :: Shape) (b :: Shape) :: * Source #

Methods

runForwards :: Logit -> S a -> (Tape Logit a b, S b) Source #

runBackwards :: Logit -> Tape Logit a b -> S b -> (Gradient Logit, S a) Source #

type Gradient Logit Source # 
type Gradient Logit = ()
type Tape Logit a b Source # 
type Tape Logit a b = S a