packages feed

menoh-0.1.0: menoh.cabal

name: menoh
version: 0.1.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.sh
data-files:
   data/*.png
   data/mnist.onnx

source-repository head
  type: git
  location: https://github.com/pfnet-research/menoh-haskell/

library
  hs-source-dirs: src
  exposed-modules:
    Menoh
    Menoh.Base
  other-modules:
    Paths_menoh
  other-extensions:
      CPP
    , FlexibleContexts
    , ForeignFunctionInterface
    , ScopedTypeVariables
  build-depends:
      base >=4.7 && <5
    , aeson >=0.8 && <1.3
    , bytestring >=0.10 && <0.11
    , containers >=0.5 && <0.6
    , monad-control >=1.0 && <1.1
    , transformers >=0.3 && <0.6
    , vector >=0.10 && <0.13
  pkgconfig-depends:
      menoh >=0.5.1
  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.3
    , optparse-applicative >=0.11 && <0.15
    , menoh
    , vector
  default-language: Haskell2010

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