-
Notifications
You must be signed in to change notification settings - Fork 3
/
menoh.cabal
108 lines (102 loc) · 2.43 KB
/
menoh.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
name: menoh
version: 0.4.0
license: MIT
license-file: LICENSE
author: Masahiro Sakai <sakai@preferred.jp>
maintainer: Masahiro Sakai <sakai@preferred.jp>
copyright: Copyright 2018 Preferred Networks, Inc.
category: Machine Learning, Deep Learning
synopsis: Haskell binding for Menoh DNN inference library
description: Menoh is a MKL-DNN based DNN inference library for ONNX models. See https://github.com/pfnet-research/menoh/ for details.
build-type: Simple
cabal-version: >=1.10
extra-source-files:
README.md
retrieve_data.hs
retrieve_data.sh
data-files:
data/*.png
data/mnist.onnx
tested-with:
GHC ==7.8.4
GHC ==7.10.3
GHC ==8.0.2
GHC ==8.2.2
GHC ==8.4.3
source-repository head
type: git
location: https://github.com/pfnet-research/menoh-haskell/
flag buildexamples
description: build example programs
default: True
manual: True
library
hs-source-dirs: src
exposed-modules:
Menoh
Menoh.Base
other-modules:
Paths_menoh
other-extensions:
CPP
, DeriveDataTypeable
, FlexibleContexts
, ForeignFunctionInterface
, ScopedTypeVariables
build-depends:
base >=4.7 && <5
, aeson >=0.8 && <1.5
, bytestring >=0.10 && <0.11
, containers >=0.5 && <0.7
, monad-control >=1.0 && <1.1
, transformers >=0.3 && <0.6
, vector >=0.10 && <0.13
pkgconfig-depends:
menoh >=1.1.1 && <2.0.0
default-language: Haskell2010
executable vgg16_example
hs-source-dirs: app
main-is: vgg16_example.hs
build-depends:
base
-- convertRGB8 requires JuicyPixels >=3.2.7
, JuicyPixels >=3.2.7 && <3.4
, optparse-applicative >=0.11 && <0.15
, menoh
, vector
default-language: Haskell2010
If !flag(buildexamples)
buildable: False
executable mnist_example
hs-source-dirs: app
other-modules: Paths_menoh
main-is: mnist_example.hs
build-depends:
base
, filepath >=1.3 && <1.5
, JuicyPixels
, optparse-applicative
, menoh
, vector
default-language: Haskell2010
If !flag(buildexamples)
buildable: False
Test-suite Test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: test.hs
other-modules:
Paths_menoh
build-depends:
base >=4 && <5
, bytestring
, async >=2.0.2
, filepath >=1.3 && <1.5
, JuicyPixels
, menoh
, vector
, tasty >=0.10.1
, tasty-hunit >=0.9 && <0.11
, tasty-th
default-language: Haskell2010
ghc-options: -threaded