HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Package0.1.0.0AIFFI

onnxruntime

ONNX Runtime bindings: sessions and tensors under brackets

Modules

Description

Run ONNX models through Microsoft's ONNX Runtime from Haskell. An environment, session options (thread counts, graph optimisation, the CPU by default with CUDA or ROCm on request), sessions opened from a file or from bytes, and tensors made from storable vectors with their shapes and element types, run by named inputs and outputs. Every handle is held by a bracket, and every failure is a typed OrtError. The runtime's C API is reached through a small C file that calls its function table; the library links the system's onnxruntime.

Depends on

5 packages

Used by in this set · 0

Nothing in this set depends on it.