unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 51207@debbugs.gnu.org
Cc: zimoun <zimon.toutoune@gmail.com>
Subject: [bug#51207] [PATCH 6/9] gnu: Add julia-functors.
Date: Thu, 14 Oct 2021 17:59:02 +0200	[thread overview]
Message-ID: <20211014155905.3221481-6-zimon.toutoune@gmail.com> (raw)
In-Reply-To: <20211014155905.3221481-1-zimon.toutoune@gmail.com>

* gnu/packages/julia-xyz.scm (julia-functors): New variable.
---
 gnu/packages/julia-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 9604460600..86f3446ba3 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1743,6 +1743,31 @@ (define-public julia-functionwrappers
 arbitrary functions.")
     (license license:expat)))
 
+(define-public julia-functors
+  (package
+    (name "julia-functors")
+    (version "0.2.6")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/FluxML/Functors.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0vkyh63v6kj70bqg09z6vsnxm2idz3xwiz7nsr53fgj5c37y2xrj"))))
+    (build-system julia-build-system)
+    (home-page "https://fluxml.ai/Functors")
+    (synopsis "Design pattern for structures as in machine learning")
+    (description "This package provides tools to express a design pattern for
+dealing with large/ nested structures, as in machine learning and
+optimisation.  For large machine learning models it can be cumbersome or
+inefficient to work with parameters as one big, flat vector, and structs help
+in managing complexity; but it is also desirable to easily operate over all
+parameters at once, e.g. for changing precision or applying an optimiser
+update step.")
+    (license license:expat)))
+
 (define-public julia-fuzzycompletions
   (package
     (name "julia-fuzzycompletions")
-- 
2.32.0





  parent reply	other threads:[~2021-10-14 16:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14 15:56 [bug#51207] [PATCH 0/9] More Julia packages toward Flux zimoun
2021-10-14 15:58 ` [bug#51207] [PATCH 1/9] gnu: julia-coordinatetransformations: Enable tests zimoun
2021-10-14 15:58   ` [bug#51207] [PATCH 2/9] gnu: julia-colortypes: " zimoun
2021-10-14 15:58   ` [bug#51207] [PATCH 3/9] gnu: julia-irtools: " zimoun
2021-10-14 15:59   ` [bug#51207] [PATCH 4/9] gnu: julia-paddedviews: " zimoun
2021-10-14 15:59   ` [bug#51207] [PATCH 5/9] gnu: julia-stackviews: " zimoun
2021-10-14 15:59   ` zimoun [this message]
2021-10-14 15:59   ` [bug#51207] [PATCH 7/9] gnu: Add julia-transcodingstreams zimoun
2021-10-14 15:59   ` [bug#51207] [PATCH 8/9] gnu: Add julia-codeczlib zimoun
2021-10-14 15:59   ` [bug#51207] [PATCH 9/9] gnu: Add julia-media zimoun
2021-10-19  7:23 ` bug#51207: [PATCH 0/9] More Julia packages toward Flux Efraim Flashner
2021-10-19  7:46   ` [bug#51207] " zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211014155905.3221481-6-zimon.toutoune@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=51207@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).