grenade/grenade.cabal

211 lines
7.4 KiB
Plaintext
Raw Normal View History

2016-06-23 15:12:57 +03:00
name: grenade
2017-04-12 10:15:24 +03:00
version: 0.1.0
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>
copyright: (c) 2016-2017 Huw Campbell.
2017-04-07 15:50:28 +03:00
synopsis: Practical Deep Learning in Haskell
2017-04-12 09:06:56 +03:00
category: AI, Machine Learning
2016-06-23 15:12:57 +03:00
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
2017-04-12 09:06:56 +03:00
recurrent neural network library for precise specifications and
complex deep neural networks in Haskell.
2017-04-07 15:50:28 +03:00
.
Grenade provides an API for composing layers of a neural network
2017-04-12 09:06:56 +03:00
into a sequence parallel graph in a type safe manner; running
networks with reverse automatic differentiation to calculate their
gradients; and applying gradient descent for learning.
2017-04-07 15:50:28 +03:00
.
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-04-12 09:06:56 +03:00
README.md
cbits/im2col.h
cbits/im2col.c
cbits/gradient_descent.h
cbits/gradient_descent.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:
aeson
, base >= 4.8 && < 5
2016-06-23 15:12:57 +03:00
, bytestring == 0.10.*
, containers >= 0.5 && < 0.6
, cereal >= 0.5 && < 0.6
, deepseq >= 1.4 && < 1.5
, exceptions
, hmatrix == 0.18.*
, MonadRandom >= 0.4 && < 0.6
, primitive >= 0.6 && < 0.7
, singletons >= 2.1 && < 2.4
, validity >= 0.4.0.4 && < 5.0
, vector >= 0.11 && < 0.13
2016-06-23 15:12:57 +03:00
ghc-options:
-Wall
hs-source-dirs:
src
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
Grenade.Layers
2017-02-02 12:27:02 +03:00
Grenade.Layers.Concat
2016-06-23 15:12:57 +03:00
Grenade.Layers.Convolution
Grenade.Layers.Crop
Grenade.Layers.Deconvolution
2016-06-23 15:12:57 +03:00
Grenade.Layers.Dropout
Grenade.Layers.Elu
2016-06-23 15:12:57 +03:00
Grenade.Layers.FullyConnected
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
Grenade.Layers.Pad
2016-06-23 15:12:57 +03:00
Grenade.Layers.Pooling
Grenade.Layers.Relu
Grenade.Layers.Reshape
Grenade.Layers.Sinusoid
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
Grenade.Layers.Internal.Update
Grenade.Recurrent
2017-02-06 13:11:51 +03:00
Grenade.Recurrent.Core
Grenade.Recurrent.Core.Layer
Grenade.Recurrent.Core.Network
Grenade.Recurrent.Core.Runner
Grenade.Recurrent.Layers
Grenade.Recurrent.Layers.BasicRecurrent
Grenade.Recurrent.Layers.ConcatRecurrent
Grenade.Recurrent.Layers.LSTM
Grenade.Utils.OneHot
Grenade.Utils.Accuracy
Grenade.Utils.Accuracy.Internal
2016-12-08 01:03:29 +03:00
includes: cbits/im2col.h
cbits/gradient_descent.h
cbits/pad.h
c-sources: cbits/im2col.c
cbits/gradient_descent.c
cbits/pad.c
2016-06-23 15:12:57 +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
other-modules: Test.Hedgehog.Compat
Test.Hedgehog.Hmatrix
Test.Hedgehog.TypeLits
Test.Grenade.Network
Test.Grenade.Gen
Test.Grenade.InstanceSpec
Test.Grenade.Layers.Convolution
Test.Grenade.Layers.FullyConnected
Test.Grenade.Layers.Nonlinear
Test.Grenade.Layers.PadCrop
Test.Grenade.Layers.Pooling
Test.Grenade.Layers.Internal.Convolution
Test.Grenade.Layers.Internal.Pooling
Test.Grenade.Layers.Internal.Reference
Test.Grenade.Recurrent.Layers.LSTM
Test.Grenade.Recurrent.Layers.LSTM.Reference
if impl(ghc < 8.0)
ghc-options: -fno-warn-incomplete-patterns
2016-06-23 15:12:57 +03:00
build-depends:
base >= 4.8 && < 5
, grenade
, genvalidity >= 0.4.0.4 && < 0.5
, genvalidity-hspec
, genvalidity-hspec-aeson
2017-12-14 08:05:37 +03:00
, hedgehog >= 0.5 && < 0.6
2016-06-23 15:12:57 +03:00
, hmatrix
, mtl
, singletons
2016-06-28 14:55:07 +03:00
, text == 1.2.*
, typelits-witnesses
2017-04-10 01:49:18 +03:00
, transformers
, constraints
, MonadRandom
, random
, ad
, reflection
2017-04-11 03:08:08 +03:00
, vector
, QuickCheck
, hspec
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.*
2017-12-14 08:05:37 +03:00
, criterion >= 1.1 && < 1.3
2016-12-12 02:20:40 +03:00
, grenade
, hmatrix
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