forked from GU-CLASP/TypedFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
100 lines (91 loc) · 2.5 KB
/
package.yaml
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
name: typedflow
version: '0.9'
synopsis: Typed frontend to TensorFlow and higher-order deep learning
description: ! 'TypedFlow is a typed, higher-order frontend to TensorFlow and a high-level
library for deep-learning.
The main design principles are:
- To make the parameters of layers explicit. This choice makes sharing of parameters
explicit and allows to implement "layers" as pure functions.
- To provide as precise as possible types. Functions are explicit about the shapes
and elements of the tensors that they manipulate (they are often polymorphic in
shapes and elements though.)
- To let combinators be as transparent as possible. If a NN layers is a simple tensor
transformation it will be exposed as such.'
category: Deep Learning
author: Jean-Philippe Bernardy
maintainer: [email protected]
license: LGPL-3
git: [email protected]:GU-CLASP/TypedFlow.git
dependencies:
- base ==4.*
- bytestring
- file-embed
- ghc-typelits-knownnat
- pretty-compact
- mtl
- containers
when:
- condition: flag(tensorflow)
dependencies:
- tensorflow
library:
source-dirs:
- src
exposed-modules:
- TypedFlow
- TypedFlow.Layers
- TypedFlow.Layers.Core
- TypedFlow.Layers.RNN
- TypedFlow.Layers.RNN.Base
- TypedFlow.Layers.RNN.Cells
- TypedFlow.Layers.RNN.Attention
- TypedFlow.Learn
- TypedFlow.Models.Topic
- TypedFlow.Python
- TypedFlow.TF
- TypedFlow.Types
- TypedFlow.Types.Proofs
when:
- condition: flag(tensorflow)
exposed-modules:
- TypedFlow.Haskell
flags:
tensorflow:
# If the build fails with tensorflow=False, don't retry with tensorflow=True
manual: False
default: False
tests:
typedflow-spec:
source-dirs: spec
main: Spec.hs
dependencies:
# TODO these are just to get a spec suite working. Replace with
# a smaller dependency footprint. text is pulled in bc of NI.
- neat-interpolation
- text
- process
- tasty
- tasty-discover
- tasty-golden
- tasty-hspec
- tasty-smallcheck
- template-haskell
- typedflow
# executables:
# typedflow-agreement:
# source-dirs: examples/agreement
# main: Aggr.hs
# dependencies:
# - typedflow
# typedflow-mnist:
# source-dirs: examples/mnist
# main: MNIST.hs
# dependencies:
# - typedflow
# typedflow-seq2seq:
# source-dirs: examples/seq2seq
# main: Seq2Seq.hs
# dependencies:
# - array
# - typedflow
# - QuickCheck