hasktorch
Haskell bindings to libtorch, supporting both typed and untyped tensors.
https://github.com/hasktorch/hasktorch#readme
| Stackage Nightly 2026-06-08: | 0.2.2.0 |
| Latest on Hackage: | 0.2.2.0 |
Maintained by [email protected]
This version can be pinned in stack with:
hasktorch-0.2.2.0@sha256:8e1c153f188de6a26a51be93eae62141c6c1be0c82811fcec653ca21dcea2331,11045Module documentation for 0.2.2.0
- Torch
- Torch.Autograd
- Torch.Backend
- Torch.Cast
- Torch.DType
- Torch.Data
- Torch.Device
- Torch.Dimname
- Torch.Distributions
- Torch.Functional
- Torch.HList
- Torch.Index
- Torch.Initializers
- Torch.Jit
- Torch.Layout
- Torch.Lens
- Torch.NN
- Torch.NN.Recurrent
- Torch.NN.Recurrent.Cell
- Torch.NN.Recurrent
- Torch.Optim
- Torch.Random
- Torch.Scalar
- Torch.Script
- Torch.Serialize
- Torch.Tensor
- Torch.TensorFactories
- Torch.TensorOptions
- Torch.Tutorial
- Torch.Typed
- Torch.Typed.Autograd
- Torch.Typed.Auxiliary
- Torch.Typed.DType
- Torch.Typed.Device
- Torch.Typed.Factories
- Torch.Typed.Functional
- Torch.Typed.Lens
- Torch.Typed.NN
- Torch.Typed.NamedTensor
- Torch.Typed.Optim
- Torch.Typed.Parameter
- Torch.Typed.Serialize
- Torch.Typed.Tensor
- Torch.Typed.VLTensor
- Torch.Typed.Vision
- Torch.Vision
Depends on 39 packages(full list with versions):
array, async, base, bytestring, cassava, constraints, containers, data-default-class, deepseq, finite-typelits, foldl, ghc-typelits-extra, ghc-typelits-knownnat, ghc-typelits-natnormalise, half, inline-c, JuicyPixels, lens-family-core, libtorch-ffi, libtorch-ffi-helper, lifted-async, megaparsec, monad-control, mtl, pipes, pipes-bytestring, pipes-concurrency, pipes-csv, pipes-group, pipes-safe, random, reflection, safe-exceptions, stm, template-haskell, transformers-base, vector, vector-sized, zlib