tensor-safe-0.1.0.0: Create valid deep neural network architectures
TensorSafe.Layers.Dense
Description
This module declares the Dense, a.k.a. FullyConnected, layer data type.
data Dense :: Nat -> Nat -> Type where Source #
A classic Dense, or FullyConnected, layer with input and output parameters.
Constructors
Defined in TensorSafe.Layers.Dense
Methods
showsPrec :: Int -> Dense a b -> ShowS #
show :: Dense a b -> String #
showList :: [Dense a b] -> ShowS #
layer :: Dense input output Source #
compile :: Dense input output -> InputShape -> CNetwork Source #