guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: Add python-linear-operator.


From: guix-commits
Subject: 03/04: gnu: Add python-linear-operator.
Date: Sat, 16 Sep 2023 22:32:28 -0400 (EDT)

monego pushed a commit to branch master
in repository guix.

commit c7bd5811da38509762609eb8dcae90ed9b610421
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sat May 20 21:46:03 2023 -0300

    gnu: Add python-linear-operator.
    
    * gnu/packages/machine-learning.scm (python-linear-operator): New variable.
---
 gnu/packages/machine-learning.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 92a60d1616..717c52345c 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4571,6 +4571,32 @@ and Numpy.")
 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]