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

Safe HaskellNone
LanguageHaskell2010

TensorSafe.Layers.Dropout

Description

This module declares the Dropout layer data type.

Synopsis

Documentation

data Dropout :: Nat -> Nat -> Type Source #

A Dropout layer with rate and seed arguments

Instances
Show (Dropout a b) Source # 
Instance details

Defined in TensorSafe.Layers.Dropout

Methods

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

show :: Dropout a b -> String #

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

(KnownNat rate, KnownNat seed) => Layer (Dropout rate seed) Source # 
Instance details

Defined in TensorSafe.Layers.Dropout

Methods

layer :: Dropout rate seed Source #

compile :: Dropout rate seed -> InputShape -> CNetwork Source #