summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid Elsing <david.elsing@posteo.net>2026-02-03 21:33:21 +0100
committerLudovic Courtès <ludo@gnu.org>2026-02-10 23:49:15 +0100
commiteb541097d19a15c5184d5f94bc4a7d8f9b26b921 (patch)
treeb76e71e1d9627fed735baaaf2264020446e3418f /gnu
parentb5c501ad471bfd9d558219b074dfa41560f6fa4d (diff)
gnu: Add frugally-deep.
* gnu/packages/machine-learning.scm (frugally-deep): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/machine-learning.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 89cc217c598..a7a4d773215 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -6998,3 +6998,28 @@ add_subdirectory[(][.][.]/[.][.]/dlib/external/pybind11 pybind11_build[)]")
pybind11
python-pytest
python-setuptools))))
+
+;; Version 0.16 breaks miopen
+(define-public frugally-deep
+ (package
+ (name "frugally-deep")
+ (version "0.15.31")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Dobiasd/frugally-deep")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0gzkv03kz9p94a9apmds77npvxhmqyahhah4bq5yz3v9pvw6kx10"))))
+ (build-system cmake-build-system)
+ ;; Tests require tensorflow
+ (arguments (list #:tests? #f))
+ (native-inputs (list eigen functionalplus nlohmann-json))
+ (home-page "https://github.com/Dobiasd/frugally-deep")
+ (synopsis "Header-only library for using Keras (TensorFlow) models
+in C++")
+ (description "@code{frugally-deep} is a header-only C++ library for
+inference of Keras machine learning models on a single CPU core.")
+ (license license:expat)))