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

Safe HaskellNone
LanguageHaskell2010

TensorSafe.Layers.MaxPooling

Description

This module declares the 2D MaxPooling layer data type.

Synopsis

Documentation

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

A 2D MaxPooling pooling that works for D2 and D3 shapes

Constructors

MaxPooling :: MaxPooling kernelRows kernelColumns strideRows strideColumns 
Instances
Show (MaxPooling a b c d) Source # 
Instance details

Defined in TensorSafe.Layers.MaxPooling

Methods

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 # 
Instance details

Defined in TensorSafe.Layers.MaxPooling

Methods

layer :: MaxPooling kernelRows kernelColumns strideRows strideColumns Source #

compile :: MaxPooling kernelRows kernelColumns strideRows strideColumns -> InputShape -> CNetwork Source #