[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/33: gnu: Add julia-chainrulestestutils.
From: |
guix-commits |
Subject: |
17/33: gnu: Add julia-chainrulestestutils. |
Date: |
Mon, 29 Mar 2021 10:48:20 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 9eb293960a473c9cc56f66b6cae428516f9c3898
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Thu Mar 25 02:05:04 2021 +0100
gnu: Add julia-chainrulestestutils.
* gnu/packages/julia-xyz.scm (julia-chainrulestestutils): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/julia-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index ed05af6..4e63c04 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -146,6 +146,38 @@ reading and writing faster.")
sensitivities for functions without the need to depend on ChainRules itself.")
(license license:expat)))
+(define-public julia-chainrulestestutils
+ (package
+ (name "julia-chainrulestestutils")
+ (version "0.6.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaDiff/ChainRulesTestUtils.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1pzs947adnb3cx1qd0cxp2fidk9szz0zsqbas90z1lhydykkvkil"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ `(("julia-chainrulescore" ,julia-chainrulescore)
+ ("julia-compat" ,julia-compat)
+ ("julia-finitedifference" ,julia-finitedifferences)))
+ (home-page "https://github.com/JuliaDiff/ChainRulesTestUtils.jl")
+ (synopsis "Common utilities used by downstream automatic differentiation
tools")
+ (description "This package is designed to help in testing
+@code{ChainRulesCore.frule} and @code{ChainRulesCore.rrule} methods. The main
+entry points are @code{ChainRulesTestUtils.frule_test},
+@code{ChainRulesTestUtils.rrule_test}, and
+@code{ChainRulesTestUtils.test_scalar}. Currently this is done via testing the
+rules against numerical differentiation (using @code{FiniteDifferences.jl}).
+
+@code{ChainRulesTestUtils.jl} is separated from @code{ChainRulesCore.jl} so
that it
+can be a test-only dependency, allowing it to have potentially heavy
+dependencies, while keeping @code{ChainRulesCore.jl} as light-weight as
possible.")
+ (license license:expat)))
+
(define-public julia-colors
(package
(name "julia-colors")
- 09/33: gnu: Add julia-abstractffts., (continued)
- 09/33: gnu: Add julia-abstractffts., guix-commits, 2021/03/29
- 25/33: gnu: Add julia-specialfunctions., guix-commits, 2021/03/29
- 22/33: gnu: Add julia-difftests., guix-commits, 2021/03/29
- 29/33: gnu: Add julia-zygoterules., guix-commits, 2021/03/29
- 32/33: gexp: Add #:guile parameter to 'load-path-expression'., guix-commits, 2021/03/29
- 24/33: gnu: Add julia-openspecfun-jll., guix-commits, 2021/03/29
- 23/33: gnu: Add julia-compilersupportlibraries-jll., guix-commits, 2021/03/29
- 18/33: gnu: Add julia-fillarrays., guix-commits, 2021/03/29
- 30/33: gnu: Add julia-zygote., guix-commits, 2021/03/29
- 27/33: gnu: Add julia-chainrules., guix-commits, 2021/03/29
- 17/33: gnu: Add julia-chainrulestestutils.,
guix-commits <=