packages feed

backprop-0.2.6.5: backprop.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: b1229ff8088fce05c68ad20c4c853349f1b30d0f9e19aa5b2c594a833b05790a

name:           backprop
version:        0.2.6.5
synopsis:       Heterogeneous automatic differentation
description:    Write your functions to compute your result, and the library will
                automatically generate functions to compute your gradient.
                .
                Implements heterogeneous reverse-mode automatic differentiation, commonly
                known as "backpropagation".
                .
                See <https://backprop.jle.im> for official introduction and documentation.
category:       Math
homepage:       https://backprop.jle.im
bug-reports:    https://github.com/mstksg/backprop/issues
author:         Justin Le
maintainer:     justin@jle.im
copyright:      (c) Justin Le 2018
license:        BSD3
license-file:   LICENSE
tested-with:
    GHC >= 8.4
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md
    Build.hs
    samples/backprop-mnist.lhs
    samples/extensible-neural.lhs
    renders/backprop-mnist.pdf
    renders/extensible-neural.pdf
    renders/backprop-mnist.md
    renders/extensible-neural.md
    doc/01-getting-started.md
    doc/02-a-detailed-look.md
    doc/03-manipulating-bvars.md
    doc/04-the-backprop-typeclass.md
    doc/05-applications.md
    doc/06-manual-gradients.md
    doc/07-performance.md
    doc/08-equipping-your-library.md
    doc/09-comparisons.md
    doc/index.md

source-repository head
  type: git
  location: https://github.com/mstksg/backprop

flag vinyl_0_14
  manual: False
  default: True

library
  exposed-modules:
      Numeric.Backprop
      Numeric.Backprop.Class
      Numeric.Backprop.Explicit
      Numeric.Backprop.Num
      Numeric.Backprop.Op
      Prelude.Backprop
      Prelude.Backprop.Explicit
      Prelude.Backprop.Num
  other-modules:
      Numeric.Backprop.Internal
      Data.Type.Util
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wredundant-constraints
  build-depends:
      base >=4.7 && <5
    , containers
    , deepseq
    , microlens
    , primitive
    , reflection
    , transformers
    , vector
    , vinyl >=0.9.1
  default-language: Haskell2010
  if flag(vinyl_0_14)
    build-depends:
        vinyl >=0.14.2
  else
    build-depends:
        vinyl <0.14

benchmark backprop-mnist-bench
  type: exitcode-stdio-1.0
  main-is: bench.hs
  other-modules:
      Paths_backprop
  hs-source-dirs:
      bench
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -O2
  build-depends:
      backprop
    , base >=4.7 && <5
    , criterion
    , deepseq
    , directory
    , hmatrix >=0.18
    , microlens
    , microlens-th
    , mwc-random
    , time
    , vector
  default-language: Haskell2010