馃挘 Machine learning which might blow up in your face 馃挘
at master 7.3 kB view raw
1name: grenade 2version: 0.1.0 3license: BSD2 4license-file: LICENSE 5author: Huw Campbell <huw.campbell@gmail.com> 6maintainer: Huw Campbell <huw.campbell@gmail.com> 7copyright: (c) 2016-2017 Huw Campbell. 8synopsis: Practical Deep Learning in Haskell 9category: AI, Machine Learning 10cabal-version: >= 1.10 11build-type: Simple 12description: 13 Grenade is a composable, dependently typed, practical, and fast 14 recurrent neural network library for precise specifications and 15 complex deep neural networks in Haskell. 16 . 17 Grenade provides an API for composing layers of a neural network 18 into a sequence parallel graph in a type safe manner; running 19 networks with reverse automatic differentiation to calculate their 20 gradients; and applying gradient descent for learning. 21 . 22 Documentation and examples are available on github 23 <https://github.com/HuwCampbell/grenade>. 24 25extra-source-files: 26 README.md 27 cbits/im2col.h 28 cbits/im2col.c 29 cbits/gradient_descent.h 30 cbits/gradient_descent.c 31 cbits/pad.h 32 cbits/pad.c 33 34source-repository head 35 type: git 36 location: https://github.com/HuwCampbell/grenade.git 37 38library 39 build-depends: 40 base >= 4.8 && < 5 41 , bytestring >= 0.10 && < 0.13 42 , containers >= 0.5 && < 0.8 43 , cereal >= 0.5 && < 0.6 44 , deepseq >= 1.4 && < 1.6 45 , hmatrix >= 0.18 && < 0.21 46 , MonadRandom >= 0.4 && < 0.7 47 , primitive >= 0.6 && < 0.10 48 -- Versions of singletons are *tightly* coupled with the 49 -- GHC version so its fine to drop version bounds. 50 , singletons 51 , singletons-base 52 , vector >= 0.11 && < 0.14 53 54 ghc-options: 55 -Wall 56 hs-source-dirs: 57 src 58 59 default-language: Haskell2010 60 61 if impl(ghc < 8.0) 62 ghc-options: -fno-warn-incomplete-patterns 63 cpp-options: -DType=* 64 65 if impl(ghc >= 8.6) 66 default-extensions: NoStarIsType 67 68 exposed-modules: 69 Grenade 70 Grenade.Core 71 Grenade.Core.Layer 72 Grenade.Core.LearningParameters 73 Grenade.Core.Network 74 Grenade.Core.Runner 75 Grenade.Core.Shape 76 77 Grenade.Layers 78 Grenade.Layers.Concat 79 Grenade.Layers.Convolution 80 Grenade.Layers.Crop 81 Grenade.Layers.Deconvolution 82 Grenade.Layers.Dropout 83 Grenade.Layers.Elu 84 Grenade.Layers.FullyConnected 85 Grenade.Layers.Inception 86 Grenade.Layers.Logit 87 Grenade.Layers.Merge 88 Grenade.Layers.Pad 89 Grenade.Layers.Pooling 90 Grenade.Layers.Relu 91 Grenade.Layers.Reshape 92 Grenade.Layers.Sinusoid 93 Grenade.Layers.Softmax 94 Grenade.Layers.Tanh 95 Grenade.Layers.Trivial 96 97 Grenade.Layers.Internal.Convolution 98 Grenade.Layers.Internal.Pad 99 Grenade.Layers.Internal.Pooling 100 Grenade.Layers.Internal.Update 101 102 Grenade.Recurrent 103 104 Grenade.Recurrent.Core 105 Grenade.Recurrent.Core.Layer 106 Grenade.Recurrent.Core.Network 107 Grenade.Recurrent.Core.Runner 108 109 Grenade.Recurrent.Layers 110 Grenade.Recurrent.Layers.BasicRecurrent 111 Grenade.Recurrent.Layers.ConcatRecurrent 112 Grenade.Recurrent.Layers.LSTM 113 114 Grenade.Utils.OneHot 115 116 includes: cbits/im2col.h 117 cbits/gradient_descent.h 118 cbits/pad.h 119 c-sources: cbits/im2col.c 120 cbits/gradient_descent.c 121 cbits/pad.c 122 123 cc-options: -std=c99 -O3 -msse4.2 -Wall -Werror -DCABAL=1 124 125test-suite test 126 type: exitcode-stdio-1.0 127 128 main-is: test.hs 129 130 ghc-options: -Wall -threaded -O2 131 132 hs-source-dirs: 133 test 134 135 default-language: Haskell2010 136 137 other-modules: Test.Hedgehog.Compat 138 Test.Hedgehog.Hmatrix 139 Test.Hedgehog.TypeLits 140 141 Test.Grenade.Network 142 Test.Grenade.Layers.Convolution 143 Test.Grenade.Layers.FullyConnected 144 Test.Grenade.Layers.Nonlinear 145 Test.Grenade.Layers.PadCrop 146 Test.Grenade.Layers.Pooling 147 Test.Grenade.Layers.Internal.Convolution 148 Test.Grenade.Layers.Internal.Pooling 149 Test.Grenade.Layers.Internal.Reference 150 151 Test.Grenade.Recurrent.Layers.LSTM 152 Test.Grenade.Recurrent.Layers.LSTM.Reference 153 154 if impl(ghc < 8.0) 155 ghc-options: -fno-warn-incomplete-patterns 156 cpp-options: -DType=* 157 158 if impl(ghc >= 8.6) 159 default-extensions: NoStarIsType 160 161 build-depends: 162 base 163 , grenade 164 , hedgehog >= 1.0 && < 1.5 165 , hmatrix 166 , mtl 167 , singletons 168 , text >= 1.2 169 , typelits-witnesses < 0.5 170 , transformers 171 , constraints 172 , MonadRandom 173 , random 174 , ad 175 , reflection 176 , vector 177 178 179benchmark bench 180 type: exitcode-stdio-1.0 181 182 main-is: bench.hs 183 184 ghc-options: -Wall -threaded -O2 185 186 hs-source-dirs: 187 bench 188 189 default-language: Haskell2010 190 191 build-depends: 192 base 193 , bytestring 194 , criterion >= 1.1 && < 1.7 195 , grenade 196 , hmatrix 197 198benchmark bench-lstm 199 type: exitcode-stdio-1.0 200 201 main-is: bench-lstm.hs 202 203 ghc-options: -Wall -threaded -O2 204 205 hs-source-dirs: 206 bench 207 208 default-language: Haskell2010 209 210 build-depends: 211 base 212 , bytestring 213 , criterion 214 , grenade 215 , hmatrix