grenade/grenade.cabal

215 lines
7.1 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
cabal-version: >= 1.10
2016-06-23 15:12:57 +03:00
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:
base >= 4.8 && < 5
, bytestring == 0.10.*
2018-12-14 18:13:35 +03:00
, containers >= 0.5 && < 0.7
, cereal >= 0.5 && < 0.6
, deepseq >= 1.4 && < 1.5
2020-01-18 13:05:29 +03:00
, hmatrix >= 0.18 && < 0.21
, MonadRandom >= 0.4 && < 0.6
2020-01-18 13:05:29 +03:00
, primitive >= 0.6 && < 0.8
-- Versions of singletons are *tightly* coupled with the
-- GHC version so its fine to drop version bounds.
, singletons
, vector >= 0.11 && < 0.13
2016-06-23 15:12:57 +03:00
ghc-options:
-Wall
hs-source-dirs:
src
default-language: Haskell2010
if impl(ghc < 8.0)
ghc-options: -fno-warn-incomplete-patterns
cpp-options: -DType=*
if impl(ghc >= 8.6)
default-extensions: NoStarIsType
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
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
default-language: Haskell2010
other-modules: Test.Hedgehog.Compat
Test.Hedgehog.Hmatrix
Test.Hedgehog.TypeLits
Test.Grenade.Network
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
cpp-options: -DType=*
if impl(ghc >= 8.6)
default-extensions: NoStarIsType
2016-06-23 15:12:57 +03:00
build-depends:
base
2016-06-23 15:12:57 +03:00
, grenade
2020-01-18 13:05:29 +03:00
, hedgehog >= 1.0 && < 1.1
2016-06-23 15:12:57 +03:00
, hmatrix
, mtl
, singletons
2016-06-28 14:55:07 +03:00
, text == 1.2.*
, typelits-witnesses < 0.4
2017-04-10 01:49:18 +03:00
, transformers
, constraints
, MonadRandom
, random
, ad
, reflection
2017-04-11 03:08:08 +03:00
, vector
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
default-language: Haskell2010
2016-12-12 02:20:40 +03:00
build-depends:
base
, bytestring
, criterion >= 1.1 && < 1.6
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
default-language: Haskell2010
build-depends:
base
, bytestring
, criterion
, grenade
, hmatrix