DeepDarkFantasy-0.2017.8.4: A DSL for creating neural network.
DDF.PE
data P repr h a where Source #
Constructors
Instances
Methods
z :: P r (a, h) a Source #
s :: P r h b -> P r (a, h) b Source #
abs :: P r (a, h) b -> P r h (a -> b) Source #
app :: P r h (a -> b) -> P r h a -> P r h b Source #
hoas :: (P r (a, h) a -> P r (a, h) b) -> P r h (a -> b) Source #
com :: P r h ((b -> c) -> (a -> b) -> a -> c) Source #
flip :: P r h ((a -> b -> c) -> b -> a -> c) Source #
id :: P r h (a -> a) Source #
const :: P r h (a -> b -> a) Source #
scomb :: P r h ((a -> b -> c) -> (a -> b) -> a -> c) Source #
dup :: P r h ((a -> a -> b) -> a -> b) Source #
let_ :: P r h (a -> (a -> b) -> b) Source #
bool :: Bool -> P r h Bool Source #
ite :: P r h (a -> a -> Bool -> a) Source #
double :: Double -> P r h Double Source #
doubleZero :: P r h Double Source #
doubleOne :: P r h Double Source #
doublePlus :: P r h (Double -> Double -> Double) Source #
doubleMinus :: P r h (Double -> Double -> Double) Source #
doubleMult :: P r h (Double -> Double -> Double) Source #
doubleDivide :: P r h (Double -> Double -> Double) Source #
doubleExp :: P r h (Double -> Double) Source #
doubleEq :: P r h (Double -> Double -> Bool) Source #
data EnvT repr hin hout where Source #
dynamic :: DBI repr => P repr h a -> repr h a Source #
app_open :: DBI repr => P repr hin r -> EnvT repr hin hout -> P repr hout r Source #
pe :: Double repr => P repr () a -> repr () a Source #