mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-23 11:29:43 +01:00
5b4017e31b
Two issues: - The definition of `\\` was missing parentheses. It was probably a bug that this used to worked in ghc-7.10. - Set `-fconstraint-solver-iterations=0` to work around https://ghc.haskell.org/trac/ghc/ticket/12175. It looks like we can trigger that bug when defining a significantly complicated op. Specifically, our type shenanigans ("OneOf") along with lens setters (for OpDef) seem to confuse GHC. Still TODO: automate testing of different ghc versions to prevent a regression.
49 lines
1.4 KiB
Text
49 lines
1.4 KiB
Text
name: tensorflow-nn
|
|
version: 0.1.0.0
|
|
synopsis: Friendly layer around TensorFlow bindings.
|
|
description: Please see README.md
|
|
homepage: https://github.com/tensorflow/haskell#readme
|
|
license: Apache
|
|
author: TensorFlow authors
|
|
maintainer: tensorflow-haskell@googlegroups.com
|
|
copyright: Google Inc.
|
|
category: Machine Learning
|
|
build-type: Simple
|
|
cabal-version: >=1.22
|
|
|
|
library
|
|
hs-source-dirs: src
|
|
exposed-modules: TensorFlow.NN
|
|
build-depends: base >= 4.7 && < 5
|
|
, tensorflow-core-ops == 0.1.*
|
|
, tensorflow == 0.1.*
|
|
, tensorflow-ops == 0.1.*
|
|
default-language: Haskell2010
|
|
-- Work around https://ghc.haskell.org/trac/ghc/ticket/12175.
|
|
if impl(ghc >= 8) {
|
|
ghc-options: -fconstraint-solver-iterations=0
|
|
}
|
|
|
|
|
|
Test-Suite NNTest
|
|
default-language: Haskell2010
|
|
type: exitcode-stdio-1.0
|
|
main-is: NNTest.hs
|
|
hs-source-dirs: tests
|
|
build-depends: HUnit
|
|
, QuickCheck
|
|
, base
|
|
, tensorflow
|
|
, tensorflow-test
|
|
, tensorflow-ops
|
|
, tensorflow-nn
|
|
, google-shim
|
|
, test-framework
|
|
, test-framework-hunit
|
|
, test-framework-quickcheck2
|
|
, vector
|
|
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/tensorflow/haskell
|