-
Notifications
You must be signed in to change notification settings - Fork 103
/
examples.cabal
307 lines (280 loc) · 9.93 KB
/
examples.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
cabal-version: 2.2
name: examples
version: 0.2.0.0
synopsis: examples for the new version of hasktorch
-- description:
homepage: https://github.com/hasktorch/hasktorch#readme
license: BSD-3-Clause
author: Hasktorch Contributor Team
maintainer: hasktorch@gmail.com
copyright: 2019 Austin Huang
category: Machine Learning
build-type: Simple
common config
default-language: Haskell2010
ghc-options: -fplugin GHC.TypeLits.Normalise -fplugin GHC.TypeLits.KnownNat.Solver -fplugin GHC.TypeLits.Extra.Solver -fconstraint-solver-iterations=0 -rtsopts
build-depends: base >= 4.7 && < 5
, hasktorch
-- , ghc-typelits-extra >= 0.3.1
-- , ghc-typelits-knownnat >= 0.7
-- , ghc-typelits-natnormalise >= 0.7
, ghc-typelits-extra
, ghc-typelits-knownnat
, ghc-typelits-natnormalise
, mtl
default-extensions: Strict
, StrictData
executable xor-mlp
import: config
hs-source-dirs: xor-mlp
main-is: Main.hs
executable static-xor-mlp
import: config
hs-source-dirs: static-xor-mlp
main-is: Main.hs
build-depends: base >= 4.7 && < 5
, hasktorch
, pipes
, mtl
, reflection
library static-mnist
import: config
hs-source-dirs: static-mnist
ghc-options: -fno-warn-partial-type-signatures
exposed-modules: Common
build-depends: bytestring >= 0.10.8
, libtorch-ffi
, random >= 1.1
, pipes
, pipes-concurrency
, mtl
executable static-mnist-cnn
import: config
hs-source-dirs: static-mnist-cnn
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
build-depends: libtorch-ffi
, random >= 1.1
, safe-exceptions
, static-mnist
executable static-mnist-mlp
import: config
hs-source-dirs: static-mnist-mlp
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
build-depends: libtorch-ffi
, random >= 1.1
, safe-exceptions
, static-mnist
executable typed-transformer
import: config
hs-source-dirs: typed-transformer
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
build-depends: async
, constraints
, containers
, foldl
, lens-family-core
, libtorch-ffi
, ordered-containers
, pipes
, pipes-group
, pipes-random
, pipes-safe
, pipes-text
, safe-exceptions
, text
, monad-control
, transformers-base >= 0.4
executable rnn
import: config
hs-source-dirs: rnn
main-is: Main.hs
other-modules: RecurrentLayer,
Elman,
LSTM,
GRU
build-depends: libtorch-ffi
executable minimal-text-example
import: config
hs-source-dirs: minimal-text-example,
rnn
main-is: Hello.hs
other-modules: RecurrentLayer,
Elman,
LSTM,
GRU
build-depends: libtorch-ffi
executable regression
import: config
hs-source-dirs: regression
main-is: Main.hs
build-depends: libtorch-ffi
executable gaussian-process
import: config
hs-source-dirs: gaussian-process
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
executable vae
import: config
hs-source-dirs: vae
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
executable serialization
import: config
hs-source-dirs: serialization
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
build-depends: bytestring
, serialise
executable optimizers
hs-source-dirs: optimizers
main-is: Main.hs
other-modules: TestFunctions
default-language: Haskell2010
ghc-options: -fno-warn-partial-type-signatures
build-depends: base >= 4.7 && < 5
, hasktorch
, mtl >= 2.2.2
executable optimizers-cpp
hs-source-dirs: optimizers-cpp
main-is: Main.hs
other-modules: TestFunctions
default-language: Haskell2010
ghc-options: -fno-warn-partial-type-signatures
build-depends: base >= 4.7 && < 5
, hasktorch
, mtl >= 2.2.2
, data-default-class
executable optimizers-cpp-typed
hs-source-dirs: optimizers-cpp-typed
main-is: Main.hs
other-modules: TestFunctions
default-language: Haskell2010
ghc-options: -fno-warn-partial-type-signatures
build-depends: base >= 4.7 && < 5
, hasktorch
, mtl >= 2.2.2
, data-default-class
executable image-processing
hs-source-dirs: image-processing
main-is: Main.hs
default-language: Haskell2010
ghc-options: -fno-warn-partial-type-signatures
build-depends: base >= 4.7 && < 5
, hasktorch
executable mnist-mlp
import: config
hs-source-dirs: mnist-mlp
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
build-depends: libtorch-ffi
, bytestring >= 0.10.8
, random >= 1.1
, safe-exceptions
, static-mnist
, pipes
executable mnist-mixed-precision
import: config
hs-source-dirs: mnist-mixed-precision
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
build-depends: libtorch-ffi
, bytestring >= 0.10.8
, random >= 1.1
, safe-exceptions
, static-mnist
, pipes
executable load-torchscript
import: config
hs-source-dirs: load-torchscript
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
build-depends: inline-c-cpp
, safe-exceptions
, unix
, JuicyPixels
executable matrix-factorization
import: config
hs-source-dirs: matrix-factorization
main-is: SparseRatingMatrix.hs
other-modules: MF
ghc-options: -fno-warn-partial-type-signatures
build-depends: base >= 4.7 && < 5
, hasktorch
, libtorch-ffi
executable gd-field
import: config
hs-source-dirs: gd-field
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
build-depends: base >= 4.7 && < 5
, text
, hvega
, hasktorch
, libtorch-ffi
executable autograd
import: config
hs-source-dirs: autograd
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
build-depends: base >= 4.7 && <5
, hasktorch
, libtorch-ffi
executable alexNet
import: config
hs-source-dirs: alexNet
main-is: Main.hs
other-modules: AlexNet
ghc-options: -fno-warn-partial-type-signatures
build-depends: base >= 4.7 && <5
, hasktorch
, libtorch-ffi
, directory
, containers
, regex-tdfa >= 1.3.1
, random
executable distill
import: config
hs-source-dirs: distill
main-is: Main.hs
other-modules: Distill, Dataset, Model
ghc-options: -fno-warn-partial-type-signatures
build-depends: libtorch-ffi
, bytestring >= 0.10.8
, hvega
, mtl
, random >= 1.1
, safe-exceptions
, static-mnist
executable regularization
import: config
hs-source-dirs: distill
main-is: Regularization.hs
other-modules: Distill, Dataset, Model, Plot
ghc-options: -fno-warn-partial-type-signatures
build-depends: libtorch-ffi
, bytestring >= 0.10.8
, hvega
, mtl
, process
, random >= 1.1
, safe-exceptions
, static-mnist
, text
executable iris-classification
import: config
hs-source-dirs: iris-classification
main-is: Main.hs
ghc-options: -fno-warn-partial-type-signatures
build-depends: libtorch-ffi
, bytestring >= 0.10.8
, mtl
, random >= 1.1
, safe-exceptions
, cassava
, pipes
, pipes-safe
, pipes-concurrency
, vector