mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
gnu: Add julia-nnlib.
* gnu/packages/julia-xyz.scm (julia-nnlib): New variable.
This commit is contained in:
parent
48b9f37a73
commit
5be9b3fd6b
1 changed files with 37 additions and 0 deletions
|
@ -1636,6 +1636,43 @@ (define-public julia-nanmath
|
||||||
@code{NaN} instead of throwing a @code{DomainError}.")
|
@code{NaN} instead of throwing a @code{DomainError}.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public julia-nnlib
|
||||||
|
(package
|
||||||
|
(name "julia-nnlib")
|
||||||
|
(version "0.7.19")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/FluxML/NNlib.jl")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "163v7hkmbxxgnq7qigmqjdqcdywi2njxbh54w8v0hf4bddnalbba"))))
|
||||||
|
(build-system julia-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'drop-cuda-support
|
||||||
|
(lambda _
|
||||||
|
(substitute* "test/runtests.jl"
|
||||||
|
(("using CUDA") ""))
|
||||||
|
(setenv "NNLIB_TEST_CUDA" "false"))))))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("julia-adapt" ,julia-adapt)
|
||||||
|
("julia-chainrulescore" ,julia-chainrulescore)
|
||||||
|
("julia-requires" ,julia-requires)))
|
||||||
|
(native-inputs
|
||||||
|
`(("julia-chainrulestestutils" ,julia-chainrulestestutils)
|
||||||
|
("julia-stablerngs" ,julia-stablerngs)
|
||||||
|
("julia-zygote" ,julia-zygote)))
|
||||||
|
(home-page "https://github.com/FluxML/NNlib.jl")
|
||||||
|
(synopsis "Neural Network primitives with multiple backends")
|
||||||
|
(description "This package will provide a library of functions useful for
|
||||||
|
machine learning, such as softmax, sigmoid, convolutions and pooling. It
|
||||||
|
doesn't provide any other \"high-level\" functionality like layers or AD.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public julia-optimtestproblems
|
(define-public julia-optimtestproblems
|
||||||
(package
|
(package
|
||||||
(name "julia-optimtestproblems")
|
(name "julia-optimtestproblems")
|
||||||
|
|
Loading…
Reference in a new issue