Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module exposes all Layers declared at TensorSafe.Layers.
Documentation
data Conv2D :: Nat -> Nat -> Nat -> Nat -> Nat -> Nat -> Type Source #
A 2D Convolutional layer
data Dense :: Nat -> Nat -> Type Source #
A classic Dense, or FullyConnected, layer with input and output parameters.
data Dropout :: Nat -> Nat -> Type Source #
A Dropout layer with rate and seed arguments
Flattens the dimensions of the shapes to a list of values with shape D1
data LSTM :: Nat -> Bool -> Type Source #
A LSTM layer with a number of units and a option to return the original sequences.
data MaxPooling :: Nat -> Nat -> Nat -> Nat -> Type Source #
A 2D MaxPooling pooling that works for D2 and D3 shapes
Instances
Show (MaxPooling a b c d) Source # | |
Defined in TensorSafe.Layers.MaxPooling showsPrec :: Int -> MaxPooling a b c d -> ShowS # show :: MaxPooling a b c d -> String # showList :: [MaxPooling a b c d] -> ShowS # | |
(KnownNat kernelRows, KnownNat kernelColumns, KnownNat strideRows, KnownNat strideColumns) => Layer (MaxPooling kernelRows kernelColumns strideRows strideColumns) Source # | |
Defined in TensorSafe.Layers.MaxPooling layer :: MaxPooling kernelRows kernelColumns strideRows strideColumns Source # compile :: MaxPooling kernelRows kernelColumns strideRows strideColumns -> InputShape -> CNetwork Source # |
A ReLu activation function