[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47350] [PATCH 16/29] gnu: Add julia-chainrulestestutils.
From: |
zimoun |
Subject: |
[bug#47350] [PATCH 16/29] gnu: Add julia-chainrulestestutils. |
Date: |
Tue, 23 Mar 2021 20:46:38 +0100 |
* gnu/packages/julia-xyz.scm (julia-chainrulestestutils): New variable.
---
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 5eb9217eae..6ddeee7172 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")
--
2.28.0
- [bug#47350] [PATCH 06/29] gnu: Add julia-staticarrays., (continued)
- [bug#47350] [PATCH 10/29] gnu: Add julia-colors., zimoun, 2021/03/23
- [bug#47350] [PATCH 12/29] gnu: Add julia-requires., zimoun, 2021/03/23
- [bug#47350] [PATCH 15/29] gnu: Add julia-finitedifferences., zimoun, 2021/03/23
- [bug#47350] [PATCH 13/29] gnu: Add julia-chainrulescore., zimoun, 2021/03/23
- [bug#47350] [PATCH 11/29] gnu: Add julia-example., zimoun, 2021/03/23
- [bug#47350] [PATCH 17/29] gnu: Add julia-fillarrays., zimoun, 2021/03/23
- [bug#47350] [PATCH 18/29] gnu: Add julia-commonsubexpressions., zimoun, 2021/03/23
- [bug#47350] [PATCH 14/29] gnu: Add julia-richardson., zimoun, 2021/03/23
- [bug#47350] [PATCH 16/29] gnu: Add julia-chainrulestestutils.,
zimoun <=
- [bug#47350] [PATCH 19/29] gnu: Add julia-calculus., zimoun, 2021/03/23
- [bug#47350] [PATCH 20/29] gnu: Add julia-diffresults., zimoun, 2021/03/23
- [bug#47350] [PATCH 21/29] gnu: Add julia-difftests., zimoun, 2021/03/23
- [bug#47350] [PATCH 26/29] gnu: Add julia-chainrules., zimoun, 2021/03/23
- [bug#47350] [PATCH 27/29] gnu: Add julia-forwarddiff., zimoun, 2021/03/23
- [bug#47350] [PATCH 24/29] gnu: Add julia-specialfunctions., zimoun, 2021/03/23
- [bug#47350] [PATCH 23/29] gnu: Add julia-openspecfun-jll., zimoun, 2021/03/23
- [bug#47350] [PATCH 25/29] gnu: Add julia-diffrules., zimoun, 2021/03/23
- [bug#47350] [PATCH 29/29] gnu: Add julia-zygote., zimoun, 2021/03/23
- [bug#47350] [PATCH 28/29] gnu: Add julia-zygoterules., zimoun, 2021/03/23