2016-06-23 15:12:57 +03:00
|
|
|
name: grenade
|
|
|
|
version: 0.0.1
|
2016-06-28 15:08:45 +03:00
|
|
|
license: BSD2
|
2016-06-28 02:31:44 +03:00
|
|
|
author: Huw Campbell <huw.campbell@gmail.com>
|
|
|
|
maintainer: Huw Campbell <huw.campbell@gmail.com>
|
|
|
|
copyright: (c) 2015 Huw Campbell.
|
2016-06-23 15:12:57 +03:00
|
|
|
synopsis: grenade
|
|
|
|
category: System
|
|
|
|
cabal-version: >= 1.8
|
|
|
|
build-type: Simple
|
|
|
|
description: grenade.
|
|
|
|
|
2016-12-12 15:35:00 +03:00
|
|
|
extra-source-files:
|
|
|
|
cbits/im2col.h
|
|
|
|
cbits/im2col.c
|
|
|
|
|
2016-06-23 15:12:57 +03:00
|
|
|
library
|
|
|
|
build-depends:
|
|
|
|
base >= 4.8 && < 5
|
|
|
|
, bytestring == 0.10.*
|
2016-12-02 10:22:35 +03:00
|
|
|
, async
|
2016-06-23 15:12:57 +03:00
|
|
|
, either == 4.4.*
|
|
|
|
, exceptions == 0.8.*
|
|
|
|
, hmatrix
|
|
|
|
, MonadRandom
|
|
|
|
, mtl >= 2.2.1 && < 2.3
|
|
|
|
, parallel == 3.2.*
|
2016-06-27 12:01:28 +03:00
|
|
|
, primitive
|
2016-06-28 14:55:07 +03:00
|
|
|
, text == 1.2.*
|
2016-06-23 15:12:57 +03:00
|
|
|
, transformers
|
|
|
|
, singletons
|
|
|
|
|
|
|
|
ghc-options:
|
|
|
|
-Wall
|
|
|
|
hs-source-dirs:
|
|
|
|
src
|
|
|
|
|
|
|
|
|
|
|
|
exposed-modules:
|
|
|
|
Grenade
|
|
|
|
Grenade.Core.Network
|
|
|
|
Grenade.Core.Runner
|
|
|
|
Grenade.Core.Shape
|
2016-07-01 05:16:50 +03:00
|
|
|
Grenade.Layers.Crop
|
2016-06-23 15:12:57 +03:00
|
|
|
Grenade.Layers.Convolution
|
|
|
|
Grenade.Layers.Dropout
|
|
|
|
Grenade.Layers.FullyConnected
|
|
|
|
Grenade.Layers.Flatten
|
|
|
|
Grenade.Layers.Fuse
|
|
|
|
Grenade.Layers.Logit
|
|
|
|
Grenade.Layers.Relu
|
|
|
|
Grenade.Layers.Tanh
|
2016-07-01 05:16:50 +03:00
|
|
|
Grenade.Layers.Pad
|
2016-06-23 15:12:57 +03:00
|
|
|
Grenade.Layers.Pooling
|
|
|
|
|
2016-12-08 01:03:29 +03:00
|
|
|
Grenade.Layers.Internal.Convolution
|
|
|
|
Grenade.Layers.Internal.Pooling
|
|
|
|
|
2016-12-12 15:35:00 +03:00
|
|
|
includes: cbits/im2col.h
|
|
|
|
c-sources: cbits/im2col.c
|
2016-06-23 15:12:57 +03:00
|
|
|
|
2016-12-13 00:39:32 +03:00
|
|
|
cc-options: -std=c99 -O3 -msse4.2 -Wall -Werror -DCABAL=1
|
|
|
|
|
2016-06-23 15:12:57 +03:00
|
|
|
executable feedforward
|
|
|
|
ghc-options: -Wall -threaded -O2
|
|
|
|
main-is: main/feedforward.hs
|
|
|
|
build-depends: base
|
|
|
|
, grenade
|
|
|
|
, attoparsec
|
|
|
|
, either
|
|
|
|
, optparse-applicative == 0.12.*
|
2016-06-28 14:55:07 +03:00
|
|
|
, text == 1.2.*
|
2016-06-23 15:12:57 +03:00
|
|
|
, mtl >= 2.2.1 && < 2.3
|
|
|
|
, hmatrix
|
|
|
|
, transformers
|
|
|
|
, singletons
|
|
|
|
, MonadRandom
|
|
|
|
|
|
|
|
executable mnist
|
|
|
|
ghc-options: -Wall -threaded -O2
|
|
|
|
main-is: main/mnist.hs
|
|
|
|
build-depends: base
|
|
|
|
, grenade
|
|
|
|
, attoparsec
|
|
|
|
, either
|
|
|
|
, optparse-applicative == 0.12.*
|
2016-06-28 14:55:07 +03:00
|
|
|
, text == 1.2.*
|
2016-06-23 15:12:57 +03:00
|
|
|
, mtl >= 2.2.1 && < 2.3
|
2016-12-07 06:50:55 +03:00
|
|
|
, hmatrix >= 0.18 && < 0.19
|
2016-06-23 15:12:57 +03:00
|
|
|
, transformers
|
|
|
|
, singletons
|
|
|
|
, MonadRandom
|
|
|
|
|
|
|
|
|
|
|
|
test-suite test
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
|
|
|
|
main-is: test.hs
|
|
|
|
|
|
|
|
ghc-options: -Wall -threaded -O2
|
|
|
|
|
|
|
|
hs-source-dirs:
|
|
|
|
test
|
|
|
|
|
|
|
|
build-depends:
|
|
|
|
base >= 4.8 && < 5
|
|
|
|
, grenade
|
|
|
|
, ambiata-disorder-core
|
2016-12-15 03:21:37 +03:00
|
|
|
, ambiata-disorder-jack
|
2016-06-23 15:12:57 +03:00
|
|
|
, hmatrix
|
|
|
|
, mtl
|
2016-12-15 03:21:37 +03:00
|
|
|
, singletons
|
2016-06-28 14:55:07 +03:00
|
|
|
, text == 1.2.*
|
2016-12-15 03:21:37 +03:00
|
|
|
, typelits-witnesses
|
|
|
|
, constraints
|
2016-06-30 11:56:16 +03:00
|
|
|
, QuickCheck >= 2.7 && < 2.9
|
2016-06-23 15:12:57 +03:00
|
|
|
, quickcheck-instances == 0.3.*
|
2016-12-15 03:21:37 +03:00
|
|
|
, MonadRandom
|
|
|
|
, random
|
2016-12-12 02:20:40 +03:00
|
|
|
|
|
|
|
|
|
|
|
benchmark bench
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
|
|
|
|
main-is: bench.hs
|
|
|
|
|
|
|
|
ghc-options: -Wall -threaded -O2
|
|
|
|
|
|
|
|
hs-source-dirs:
|
|
|
|
bench
|
|
|
|
|
|
|
|
build-depends:
|
|
|
|
base >= 3 && < 5
|
|
|
|
, bytestring == 0.10.*
|
|
|
|
, criterion == 1.1.*
|
|
|
|
, grenade
|
|
|
|
, hmatrix
|