Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module declares the 2D MaxPooling layer data type.
Synopsis
- data MaxPooling :: Nat -> Nat -> Nat -> Nat -> Type where
- MaxPooling :: MaxPooling kernelRows kernelColumns strideRows strideColumns
Documentation
data MaxPooling :: Nat -> Nat -> Nat -> Nat -> Type where Source #
A 2D MaxPooling pooling that works for D2 and D3 shapes
MaxPooling :: MaxPooling kernelRows kernelColumns strideRows strideColumns |
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 # |