-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhasktorch-compose.cabal
57 lines (52 loc) · 1.5 KB
/
hasktorch-compose.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
cabal-version: 2.2
name: hasktorch-compose
version: 0.0.0.0
synopsis: See README for more info
description: See README for more info
license: MIT
license-file: LICENSE
author: The Hasktorch Team
maintainer: [email protected]
copyright: 2020 The Hasktorch Team
category: Tensors, Machine Learning, AI
build-type: Simple
extra-doc-files: README.md
, CHANGELOG.md
tested-with: GHC == 8.8.3
common base
ghc-options: -Wall -Wextra -Wno-unrecognised-pragmas -Wno-orphans
default-language: Haskell2010
build-depends:
base >= 4.12 && < 5
, hasktorch >= 0.2 && < 0.3
, HList
, template-haskell
common binary-base
import: base
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: hasktorch-compose
library
import: base
exposed-modules:
Torch.Compose
Torch.Compose.NN
Torch.Compose.Models
Torch.Typed.Compose
Torch.Typed.Compose.NN
Torch.Typed.Compose.Models
hs-source-dirs: src
-- default-extensions: Strict
-- , StrictData
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
, hasktorch
, hasktorch-compose
, hspec
, HList
executable example
import: binary-base
main-is: Main.hs
hs-source-dirs: exe