hasktorch: Torch for tensors and neural networks in Haskell

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Hasktorch is a library for tensors and neural networks in Haskell. It is an independent open source community project which leverages the core C libraries shared by Torch and PyTorch. This library leverages cabal v2-build and backpack. *Note that this project is in early development and should only be used by contributing developers. Expect substantial changes to the library API as it evolves. Contributions and PRs are welcome (see details on github).*

Properties

Versions 0.0.1.0, 0.0.1.0, 0.2.0.0, 0.2.0.1
Change log None available
Dependencies base (>=4.7 && <5), dimensions (>=1.0), hasktorch, hasktorch-ffi-th (>=0.0.1 && <0.0.2), hasktorch-ffi-thc (>=0.0.1 && <0.0.2), hasktorch-indef, hasktorch-signatures-partial (>=0.0.1 && <0.0.2), hasktorch-types-th (>=0.0.1 && <0.0.2), hasktorch-types-thc (>=0.0.1 && <0.0.2), safe-exceptions (>=0.1.0), singletons (>=2.2), text (>=1.2.2) [details]
License BSD-3-Clause
Author Hasktorch dev team
Maintainer Sam Stites <fnz@fgvgrf.vb>, Austin Huang <nhfgvau@nyhz.zvg.rqh> - cipher:ROT13
Category Tensors, Machine Learning, AI
Home page https://github.com/hasktorch/hasktorch#readme
Bug tracker https://github.com/hasktorch/hasktorch/issues
Source repo head: git clone https://github.com/hasktorch/hasktorch
Uploaded by stites at 2018-11-02T00:59:25Z

library hasktorch

Modules

[Index] [Quick Jump]

  • Torch
    • Torch.Byte
      • Torch.Byte.Dynamic
      • Torch.Byte.Storage
    • Torch.Char
      • Torch.Char.Dynamic
      • Torch.Char.Storage
    • Core
    • Cuda
      • Torch.Cuda.Byte
        • Torch.Cuda.Byte.Dynamic
        • Torch.Cuda.Byte.Storage
      • Torch.Cuda.Char
        • Torch.Cuda.Char.Dynamic
        • Torch.Cuda.Char.Storage
      • Torch.Cuda.Double
        • Torch.Cuda.Double.Dynamic
          • Torch.Cuda.Double.Dynamic.NN
            • Torch.Cuda.Double.Dynamic.NN.Activation
            • Torch.Cuda.Double.Dynamic.NN.Criterion
            • Torch.Cuda.Double.Dynamic.NN.Pooling
        • Torch.Cuda.Double.NN
          • Torch.Cuda.Double.NN.Activation
          • Torch.Cuda.Double.NN.Backprop
          • Torch.Cuda.Double.NN.Conv1d
          • Torch.Cuda.Double.NN.Conv2d
          • Torch.Cuda.Double.NN.Criterion
          • Torch.Cuda.Double.NN.Layers
          • Torch.Cuda.Double.NN.Linear
          • Torch.Cuda.Double.NN.Math
          • Torch.Cuda.Double.NN.Padding
          • Torch.Cuda.Double.NN.Pooling
          • Torch.Cuda.Double.NN.Sampling
        • Torch.Cuda.Double.Storage
      • Torch.Cuda.Float
        • Torch.Cuda.Float.Dynamic
        • Torch.Cuda.Float.Storage
      • Torch.Cuda.Int
        • Torch.Cuda.Int.Dynamic
        • Torch.Cuda.Int.Storage
      • Torch.Cuda.Long
        • Torch.Cuda.Long.Dynamic
        • Torch.Cuda.Long.Storage
      • Torch.Cuda.Short
        • Torch.Cuda.Short.Dynamic
        • Torch.Cuda.Short.Storage
    • Torch.Double
      • Torch.Double.Dynamic
        • Torch.Double.Dynamic.NN
          • Torch.Double.Dynamic.NN.Activation
          • Torch.Double.Dynamic.NN.Criterion
          • Torch.Double.Dynamic.NN.Pooling
      • Torch.Double.NN
        • Torch.Double.NN.Activation
        • Torch.Double.NN.Backprop
        • Torch.Double.NN.Conv1d
        • Torch.Double.NN.Conv2d
        • Torch.Double.NN.Criterion
        • Torch.Double.NN.Layers
        • Torch.Double.NN.Linear
        • Torch.Double.NN.Math
        • Torch.Double.NN.Padding
        • Torch.Double.NN.Pooling
        • Torch.Double.NN.Sampling
      • Torch.Double.Storage
    • Torch.Float
      • Torch.Float.Dynamic
      • Torch.Float.Storage
    • Torch.Int
      • Torch.Int.Dynamic
      • Torch.Int.Storage
    • Torch.Long
      • Torch.Long.Dynamic
      • Torch.Long.Storage
    • Torch.Short
      • Torch.Short.Dynamic
      • Torch.Short.Storage
    • Types
      • Torch.Types.Numeric

library hasktorch:hasktorch-indef-floating

Modules

[Index] [Quick Jump]

  • Torch
    • Indef
      • Dynamic
        • Torch.Indef.Dynamic.NN
          • Torch.Indef.Dynamic.NN.Activation
          • Torch.Indef.Dynamic.NN.Criterion
          • Torch.Indef.Dynamic.NN.Pooling
        • Torch.Indef.Dynamic.Print
        • Torch.Indef.Dynamic.Tensor
          • Torch.Indef.Dynamic.Tensor.Copy
          • Torch.Indef.Dynamic.Tensor.Index
          • Torch.Indef.Dynamic.Tensor.Masked
          • Torch.Indef.Dynamic.Tensor.Math
            • Torch.Indef.Dynamic.Tensor.Math.Blas
            • Torch.Indef.Dynamic.Tensor.Math.Compare
            • Torch.Indef.Dynamic.Tensor.Math.CompareT
            • Torch.Indef.Dynamic.Tensor.Math.Floating
            • Torch.Indef.Dynamic.Tensor.Math.Lapack
            • Torch.Indef.Dynamic.Tensor.Math.Pairwise
            • Torch.Indef.Dynamic.Tensor.Math.Pointwise
              • Torch.Indef.Dynamic.Tensor.Math.Pointwise.Floating
              • Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed
            • Random
              • Torch.Indef.Dynamic.Tensor.Math.Random.TH
            • Torch.Indef.Dynamic.Tensor.Math.Reduce
              • Torch.Indef.Dynamic.Tensor.Math.Reduce.Floating
            • Torch.Indef.Dynamic.Tensor.Math.Scan
          • Torch.Indef.Dynamic.Tensor.Mode
          • Random
            • Torch.Indef.Dynamic.Tensor.Random.TH
            • Torch.Indef.Dynamic.Tensor.Random.THC
          • Torch.Indef.Dynamic.Tensor.ScatterGather
          • Torch.Indef.Dynamic.Tensor.Sort
          • Torch.Indef.Dynamic.Tensor.TopK
      • Torch.Indef.Index
      • Torch.Indef.Mask
      • Static
        • Torch.Indef.Static.NN
          • Torch.Indef.Static.NN.Activation
          • Torch.Indef.Static.NN.Backprop
          • Torch.Indef.Static.NN.Conv1d
          • Torch.Indef.Static.NN.Conv2d
          • Torch.Indef.Static.NN.Criterion
          • Torch.Indef.Static.NN.Layers
          • Torch.Indef.Static.NN.Linear
          • Torch.Indef.Static.NN.Math
          • Torch.Indef.Static.NN.Padding
          • Torch.Indef.Static.NN.Pooling
          • Torch.Indef.Static.NN.Sampling
        • Torch.Indef.Static.Tensor
          • Torch.Indef.Static.Tensor.Copy
          • Torch.Indef.Static.Tensor.Index
          • Torch.Indef.Static.Tensor.Masked
          • Torch.Indef.Static.Tensor.Math
            • Torch.Indef.Static.Tensor.Math.Blas
            • Torch.Indef.Static.Tensor.Math.Compare
            • Torch.Indef.Static.Tensor.Math.CompareT
            • Torch.Indef.Static.Tensor.Math.Floating
            • Torch.Indef.Static.Tensor.Math.Lapack
            • Torch.Indef.Static.Tensor.Math.Pairwise
            • Torch.Indef.Static.Tensor.Math.Pointwise
              • Torch.Indef.Static.Tensor.Math.Pointwise.Floating
              • Torch.Indef.Static.Tensor.Math.Pointwise.Signed
            • Random
              • Torch.Indef.Static.Tensor.Math.Random.TH
            • Torch.Indef.Static.Tensor.Math.Reduce
              • Torch.Indef.Static.Tensor.Math.Reduce.Floating
            • Torch.Indef.Static.Tensor.Math.Scan
          • Torch.Indef.Static.Tensor.Mode
          • Random
            • Torch.Indef.Static.Tensor.Random.TH
            • Torch.Indef.Static.Tensor.Random.THC
          • Torch.Indef.Static.Tensor.ScatterGather
          • Torch.Indef.Static.Tensor.Sort
          • Torch.Indef.Static.Tensor.TopK
      • Torch.Indef.Storage
        • Torch.Indef.Storage.Copy
      • Torch.Indef.Types
    • Undefined
      • Tensor
        • Math
          • Random
            • Torch.Undefined.Tensor.Math.Random.TH
        • Random
          • Torch.Undefined.Tensor.Random.TH
          • Torch.Undefined.Tensor.Random.THC

library hasktorch:hasktorch-indef-signed

Modules

[Index] [Quick Jump]

  • Torch
    • Indef
      • Dynamic
        • Torch.Indef.Dynamic.Print
        • Torch.Indef.Dynamic.Tensor
          • Torch.Indef.Dynamic.Tensor.Copy
          • Torch.Indef.Dynamic.Tensor.Index
          • Torch.Indef.Dynamic.Tensor.Masked
          • Torch.Indef.Dynamic.Tensor.Math
            • Torch.Indef.Dynamic.Tensor.Math.Compare
            • Torch.Indef.Dynamic.Tensor.Math.CompareT
            • Torch.Indef.Dynamic.Tensor.Math.Pairwise
            • Torch.Indef.Dynamic.Tensor.Math.Pointwise
              • Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed
            • Torch.Indef.Dynamic.Tensor.Math.Reduce
            • Torch.Indef.Dynamic.Tensor.Math.Scan
          • Torch.Indef.Dynamic.Tensor.Mode
          • Torch.Indef.Dynamic.Tensor.ScatterGather
          • Torch.Indef.Dynamic.Tensor.Sort
          • Torch.Indef.Dynamic.Tensor.TopK
      • Torch.Indef.Index
      • Torch.Indef.Mask
      • Static
        • Torch.Indef.Static.Tensor
          • Torch.Indef.Static.Tensor.Copy
          • Torch.Indef.Static.Tensor.Index
          • Torch.Indef.Static.Tensor.Masked
          • Torch.Indef.Static.Tensor.Math
            • Torch.Indef.Static.Tensor.Math.Compare
            • Torch.Indef.Static.Tensor.Math.CompareT
            • Torch.Indef.Static.Tensor.Math.Pairwise
            • Torch.Indef.Static.Tensor.Math.Pointwise
              • Torch.Indef.Static.Tensor.Math.Pointwise.Signed
            • Torch.Indef.Static.Tensor.Math.Reduce
            • Torch.Indef.Static.Tensor.Math.Scan
          • Torch.Indef.Static.Tensor.Mode
          • Torch.Indef.Static.Tensor.ScatterGather
          • Torch.Indef.Static.Tensor.Sort
          • Torch.Indef.Static.Tensor.TopK
      • Torch.Indef.Storage
        • Torch.Indef.Storage.Copy
      • Torch.Indef.Types

library hasktorch:hasktorch-indef-unsigned

Modules

[Index] [Quick Jump]

  • Torch
    • Indef
      • Dynamic
        • Torch.Indef.Dynamic.Print
        • Torch.Indef.Dynamic.Tensor
          • Torch.Indef.Dynamic.Tensor.Copy
          • Torch.Indef.Dynamic.Tensor.Index
          • Torch.Indef.Dynamic.Tensor.Masked
          • Torch.Indef.Dynamic.Tensor.Math
            • Torch.Indef.Dynamic.Tensor.Math.Compare
            • Torch.Indef.Dynamic.Tensor.Math.CompareT
            • Torch.Indef.Dynamic.Tensor.Math.Pairwise
            • Torch.Indef.Dynamic.Tensor.Math.Pointwise
            • Torch.Indef.Dynamic.Tensor.Math.Reduce
            • Torch.Indef.Dynamic.Tensor.Math.Scan
          • Torch.Indef.Dynamic.Tensor.Mode
          • Torch.Indef.Dynamic.Tensor.ScatterGather
          • Torch.Indef.Dynamic.Tensor.Sort
          • Torch.Indef.Dynamic.Tensor.TopK
      • Torch.Indef.Index
      • Torch.Indef.Mask
      • Static
        • Torch.Indef.Static.Tensor
          • Torch.Indef.Static.Tensor.Copy
          • Torch.Indef.Static.Tensor.Index
          • Torch.Indef.Static.Tensor.Masked
          • Torch.Indef.Static.Tensor.Math
            • Torch.Indef.Static.Tensor.Math.Compare
            • Torch.Indef.Static.Tensor.Math.CompareT
            • Torch.Indef.Static.Tensor.Math.Pairwise
            • Torch.Indef.Static.Tensor.Math.Pointwise
            • Torch.Indef.Static.Tensor.Math.Reduce
            • Torch.Indef.Static.Tensor.Math.Scan
          • Torch.Indef.Static.Tensor.Mode
          • Torch.Indef.Static.Tensor.ScatterGather
          • Torch.Indef.Static.Tensor.Sort
          • Torch.Indef.Static.Tensor.TopK
      • Torch.Indef.Storage
        • Torch.Indef.Storage.Copy
      • Torch.Indef.Types

library hasktorch:hasktorch-gpu

Modules

[Index] [Quick Jump]

  • Torch
    • Cuda
      • Torch.Cuda.Byte
        • Torch.Cuda.Byte.Dynamic
        • Torch.Cuda.Byte.Storage
      • Torch.Cuda.Char
        • Torch.Cuda.Char.Dynamic
        • Torch.Cuda.Char.Storage
      • Torch.Cuda.Double
        • Torch.Cuda.Double.Dynamic
          • Torch.Cuda.Double.Dynamic.NN
            • Torch.Cuda.Double.Dynamic.NN.Activation
            • Torch.Cuda.Double.Dynamic.NN.Criterion
            • Torch.Cuda.Double.Dynamic.NN.Pooling
        • Torch.Cuda.Double.NN
          • Torch.Cuda.Double.NN.Activation
          • Torch.Cuda.Double.NN.Backprop
          • Torch.Cuda.Double.NN.Conv1d
          • Torch.Cuda.Double.NN.Conv2d
          • Torch.Cuda.Double.NN.Criterion
          • Torch.Cuda.Double.NN.Layers
          • Torch.Cuda.Double.NN.Linear
          • Torch.Cuda.Double.NN.Math
          • Torch.Cuda.Double.NN.Padding
          • Torch.Cuda.Double.NN.Pooling
          • Torch.Cuda.Double.NN.Sampling
        • Torch.Cuda.Double.Storage
      • Torch.Cuda.Int
        • Torch.Cuda.Int.Dynamic
        • Torch.Cuda.Int.Storage
      • Torch.Cuda.Long
        • Torch.Cuda.Long.Dynamic
        • Torch.Cuda.Long.Storage
      • Torch.Cuda.Short
        • Torch.Cuda.Short.Dynamic
        • Torch.Cuda.Short.Storage

library hasktorch:hasktorch-cpu

Modules

[Index] [Quick Jump]

  • Torch
    • Torch.Byte
      • Torch.Byte.Dynamic
      • Torch.Byte.Storage
    • Torch.Char
      • Torch.Char.Dynamic
      • Torch.Char.Storage
    • Torch.Double
      • Torch.Double.Dynamic
        • Torch.Double.Dynamic.NN
          • Torch.Double.Dynamic.NN.Activation
          • Torch.Double.Dynamic.NN.Criterion
          • Torch.Double.Dynamic.NN.Pooling
      • Torch.Double.NN
        • Torch.Double.NN.Activation
        • Torch.Double.NN.Backprop
        • Torch.Double.NN.Conv1d
        • Torch.Double.NN.Conv2d
        • Torch.Double.NN.Criterion
        • Torch.Double.NN.Layers
        • Torch.Double.NN.Linear
        • Torch.Double.NN.Math
        • Torch.Double.NN.Padding
        • Torch.Double.NN.Pooling
        • Torch.Double.NN.Sampling
      • Torch.Double.Storage
    • Torch.Float
      • Torch.Float.Dynamic
        • Torch.Float.Dynamic.NN
          • Torch.Float.Dynamic.NN.Activation
          • Torch.Float.Dynamic.NN.Criterion
          • Torch.Float.Dynamic.NN.Pooling
      • Torch.Float.NN
        • Torch.Float.NN.Activation
        • Torch.Float.NN.Backprop
        • Torch.Float.NN.Conv1d
        • Torch.Float.NN.Conv2d
        • Torch.Float.NN.Criterion
        • Torch.Float.NN.Layers
        • Torch.Float.NN.Linear
        • Torch.Float.NN.Math
        • Torch.Float.NN.Padding
        • Torch.Float.NN.Pooling
        • Torch.Float.NN.Sampling
      • Torch.Float.Storage
    • Torch.Int
      • Torch.Int.Dynamic
      • Torch.Int.Storage
    • Torch.Long
      • Torch.Long.Dynamic
      • Torch.Long.Storage
    • Torch.Short
      • Torch.Short.Dynamic
      • Torch.Short.Storage

Flags

Automatic Flags
NameDescriptionDefault
cuda

build with THC support

Disabled
lite

only build with Double and Long support

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees