tensor-safe-0.1.0.1: Create valid deep neural network architectures

Safe HaskellNone
LanguageHaskell2010

TensorSafe.Layers.Dense

Description

This module declares the Dense, a.k.a. FullyConnected, layer data type.

Synopsis

Documentation

data Dense :: Nat -> Nat -> Type where Source #

A classic Dense, or FullyConnected, layer with input and output parameters.

Constructors

Dense :: Dense input output 
Instances
Show (Dense a b) Source # 
Instance details

Defined in TensorSafe.Layers.Dense

Methods

showsPrec :: Int -> Dense a b -> ShowS #

show :: Dense a b -> String #

showList :: [Dense a b] -> ShowS #

(KnownNat input, KnownNat output) => Layer (Dense input output) Source # 
Instance details

Defined in TensorSafe.Layers.Dense

Methods

layer :: Dense input output Source #

compile :: Dense input output -> InputShape -> CNetwork Source #