gnu: Add python-linear-operator.

* gnu/packages/machine-learning.scm (python-linear-operator): New variable.
This commit is contained in:
Vinicius Monego 2023-05-20 21:46:03 -03:00
parent 70b8682eaa
commit c7bd5811da
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -4571,6 +4571,32 @@ (define-public python-pyro-ppl
inference.")
(license license:asl2.0)))
(define-public python-linear-operator
(package
(name "python-linear-operator")
(version "0.5.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "linear_operator" version))
(sha256
(base32
"03drb4hn9nn8jrqd9vbalihhahgpdm956hbs05bix7svradhknaw"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-jaxtyping
python-pytorch
python-scipy
python-typeguard))
(native-inputs (list python-flake8
python-flake8-print
python-pytest
python-setuptools-scm
python-twine))
(home-page "https://github.com/cornellius-gp/linear_operator/")
(synopsis "Linear operator implementation")
(description "LinearOperator is a PyTorch package for abstracting away the
linear algebra routines needed for structured matrices (or operators).")
(license license:expat)))
(define-public vosk-api
(let* ((openfst openfst-for-vosk)
(kaldi kaldi-for-vosk))