mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add dlpack.
* gnu/packages/machine-learning.scm (dlpack): New variable. Change-Id: I9223e5c3b8f8317f88954cfdaccdfa11a51b7167 Signed-off-by: Hilton Chain <hako@ultrarare.space> Modified-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
parent
121e96dca2
commit
c26287d796
1 changed files with 22 additions and 0 deletions
|
@ -134,6 +134,28 @@
|
||||||
#:use-module (gnu packages xorg)
|
#:use-module (gnu packages xorg)
|
||||||
#:use-module (ice-9 match))
|
#:use-module (ice-9 match))
|
||||||
|
|
||||||
|
(define-public dlpack
|
||||||
|
(package
|
||||||
|
(name "dlpack")
|
||||||
|
(version "1.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/dmlc/dlpack")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "169slm88jin4ddhdwk1qhqzzkhkwk1jrz35i7abhcqkry9wjib4f"))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(arguments (list #:tests? #f)) ;No tests.
|
||||||
|
(home-page "https://github.com/dmlc/dlpack")
|
||||||
|
(synopsis "In memory tensor structure")
|
||||||
|
(description
|
||||||
|
"DLPack is an in-memory tensor structure for sharing tensors among
|
||||||
|
frameworks.")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public fasttext
|
(define-public fasttext
|
||||||
(package
|
(package
|
||||||
(name "fasttext")
|
(name "fasttext")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue