2016-06-23 15:12:57 +03:00
|
|
|
name: grenade
|
|
|
|
version: 0.0.1
|
2016-06-28 15:08:45 +03:00
|
|
|
license: BSD2
|
2017-02-07 10:30:10 +03:00
|
|
|
license-file: LICENSE
|
2016-06-28 02:31:44 +03:00
|
|
|
author: Huw Campbell <huw.campbell@gmail.com>
|
|
|
|
maintainer: Huw Campbell <huw.campbell@gmail.com>
|
2017-02-20 11:16:38 +03:00
|
|
|
copyright: (c) 2016-2017 Huw Campbell.
|
2017-04-07 15:50:28 +03:00
|
|
|
synopsis: Practical Deep Learning in Haskell
|
2016-06-23 15:12:57 +03:00
|
|
|
category: System
|
|
|
|
cabal-version: >= 1.8
|
|
|
|
build-type: Simple
|
2017-04-07 15:50:28 +03:00
|
|
|
description:
|
|
|
|
Grenade is a composable, dependently typed, practical, and fast
|
|
|
|
recurrent neural network library for concise and precise
|
|
|
|
specifications of complex networks in Haskell.
|
|
|
|
.
|
|
|
|
Grenade provides an API for composing layers of a neural network
|
|
|
|
into a sequence parallel graph in a type safe manner.
|
|
|
|
.
|
|
|
|
Documentation and examples are available on github
|
|
|
|
<https://github.com/HuwCampbell/grenade>.
|
2016-06-23 15:12:57 +03:00
|
|
|
|
2016-12-12 15:35:00 +03:00
|
|
|
extra-source-files:
|
2017-02-20 11:16:38 +03:00
|
|
|
cbits/im2col.h
|
|
|
|
cbits/im2col.c
|
|
|
|
cbits/gradient_decent.h
|
|
|
|
cbits/gradient_decent.c
|
|
|
|
cbits/pad.h
|
|
|
|
cbits/pad.c
|
2016-12-12 15:35:00 +03:00
|
|
|
|
2017-02-07 10:30:10 +03:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/HuwCampbell/grenade.git
|
|
|
|
|
2016-06-23 15:12:57 +03:00
|
|
|
library
|
|
|
|
build-depends:
|
|
|
|
base >= 4.8 && < 5
|
|
|
|
, bytestring == 0.10.*
|
2017-02-20 11:16:38 +03:00
|
|
|
, containers >= 0.5 && < 0.6
|
|
|
|
, cereal >= 0.5 && < 0.6
|
|
|
|
, deepseq >= 1.4 && < 1.5
|
2016-06-23 15:12:57 +03:00
|
|
|
, exceptions == 0.8.*
|
2017-02-03 13:04:27 +03:00
|
|
|
, hmatrix == 0.18.*
|
2017-02-20 11:16:38 +03:00
|
|
|
, MonadRandom >= 0.4 && < 0.6
|
|
|
|
, mtl >= 2.2.1 && < 2.3
|
|
|
|
, primitive >= 0.6 && < 0.7
|
2016-06-28 14:55:07 +03:00
|
|
|
, text == 1.2.*
|
2017-02-20 11:16:38 +03:00
|
|
|
, singletons >= 2.1 && < 2.3
|
|
|
|
, vector >= 0.11 && < 0.13
|
2016-06-23 15:12:57 +03:00
|
|
|
|
|
|
|
ghc-options:
|
|
|
|
-Wall
|
|
|
|
hs-source-dirs:
|
|
|
|
src
|
|
|
|
|
2017-02-20 11:16:38 +03:00
|
|
|
if impl(ghc < 8.0)
|
|
|
|
ghc-options: -fno-warn-incomplete-patterns
|
|
|
|
|
2016-06-23 15:12:57 +03:00
|
|
|
|
|
|
|
exposed-modules:
|
|
|
|
Grenade
|
2017-02-01 14:11:55 +03:00
|
|
|
Grenade.Core
|
|
|
|
Grenade.Core.Layer
|
|
|
|
Grenade.Core.LearningParameters
|
2016-06-23 15:12:57 +03:00
|
|
|
Grenade.Core.Network
|
|
|
|
Grenade.Core.Runner
|
|
|
|
Grenade.Core.Shape
|
2017-02-20 11:16:38 +03:00
|
|
|
|
|
|
|
Grenade.Layers
|
2017-02-02 12:27:02 +03:00
|
|
|
Grenade.Layers.Concat
|
2016-06-23 15:12:57 +03:00
|
|
|
Grenade.Layers.Convolution
|
2017-02-20 11:16:38 +03:00
|
|
|
Grenade.Layers.Crop
|
2017-04-06 06:34:43 +03:00
|
|
|
Grenade.Layers.Deconvolution
|
2016-06-23 15:12:57 +03:00
|
|
|
Grenade.Layers.Dropout
|
2017-02-20 11:16:38 +03:00
|
|
|
Grenade.Layers.Elu
|
2016-06-23 15:12:57 +03:00
|
|
|
Grenade.Layers.FullyConnected
|
2017-02-20 11:16:38 +03:00
|
|
|
Grenade.Layers.Inception
|
2016-06-23 15:12:57 +03:00
|
|
|
Grenade.Layers.Logit
|
2017-02-02 12:27:02 +03:00
|
|
|
Grenade.Layers.Merge
|
2016-07-01 05:16:50 +03:00
|
|
|
Grenade.Layers.Pad
|
2016-06-23 15:12:57 +03:00
|
|
|
Grenade.Layers.Pooling
|
2017-02-20 11:16:38 +03:00
|
|
|
Grenade.Layers.Relu
|
|
|
|
Grenade.Layers.Reshape
|
|
|
|
Grenade.Layers.Softmax
|
|
|
|
Grenade.Layers.Tanh
|
|
|
|
Grenade.Layers.Trivial
|
2016-06-23 15:12:57 +03:00
|
|
|
|
2016-12-08 01:03:29 +03:00
|
|
|
Grenade.Layers.Internal.Convolution
|
2017-02-02 12:27:02 +03:00
|
|
|
Grenade.Layers.Internal.Pad
|
2016-12-08 01:03:29 +03:00
|
|
|
Grenade.Layers.Internal.Pooling
|
2016-12-20 08:31:09 +03:00
|
|
|
Grenade.Layers.Internal.Update
|
|
|
|
|
|
|
|
Grenade.Recurrent
|
|
|
|
|
2017-02-06 13:11:51 +03:00
|
|
|
Grenade.Recurrent.Core
|
|
|
|
Grenade.Recurrent.Core.Layer
|
2016-12-20 08:31:09 +03:00
|
|
|
Grenade.Recurrent.Core.Network
|
|
|
|
Grenade.Recurrent.Core.Runner
|
|
|
|
|
2017-02-20 11:16:38 +03:00
|
|
|
Grenade.Recurrent.Layers
|
2016-12-20 08:31:09 +03:00
|
|
|
Grenade.Recurrent.Layers.BasicRecurrent
|
|
|
|
Grenade.Recurrent.Layers.LSTM
|
|
|
|
|
|
|
|
Grenade.Utils.OneHot
|
2016-12-08 01:03:29 +03:00
|
|
|
|
2017-02-20 11:16:38 +03:00
|
|
|
includes: cbits/im2col.h
|
|
|
|
cbits/gradient_decent.h
|
|
|
|
cbits/pad.h
|
|
|
|
c-sources: cbits/im2col.c
|
|
|
|
cbits/gradient_decent.c
|
|
|
|
cbits/pad.c
|
2016-06-23 15:12:57 +03:00
|
|
|
|
2017-02-20 11:16:38 +03:00
|
|
|
cc-options: -std=c99 -O3 -msse4.2 -Wall -Werror -DCABAL=1
|
2016-06-23 15:12:57 +03:00
|
|
|
|
|
|
|
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
|
2017-04-10 01:49:18 +03:00
|
|
|
, hedgehog >= 0.1 && < 0.2
|
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
|
2017-04-10 01:49:18 +03:00
|
|
|
, transformers
|
2016-12-15 03:21:37 +03:00
|
|
|
, constraints
|
|
|
|
, MonadRandom
|
|
|
|
, random
|
2016-12-20 08:31:09 +03:00
|
|
|
, ad
|
|
|
|
, reflection
|
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
|
2016-12-20 08:31:09 +03:00
|
|
|
|
|
|
|
benchmark bench-lstm
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
|
|
|
|
main-is: bench-lstm.hs
|
|
|
|
|
|
|
|
ghc-options: -Wall -threaded -O2
|
|
|
|
|
|
|
|
hs-source-dirs:
|
|
|
|
bench
|
|
|
|
|
|
|
|
build-depends:
|
|
|
|
base >= 3 && < 5
|
|
|
|
, bytestring == 0.10.*
|
|
|
|
, criterion == 1.1.*
|
|
|
|
, grenade
|
|
|
|
, hmatrix
|