Clojure MXNet - The Module API
This is an introduction to the high level Clojure API for deep learning library MXNet.
The module API provides an intermediate and high-level interface for performing computation with neural networks in MXNet.
To follow along with this documentation, you can use this namespace to with the needed requires:
(ns docs.module (:require [clojure.java.io :as io] [clojure.java.shell :refer [sh]] [org.apache.clojure-mxnet.eval-metric :as eval-metric] [org.apache.clojure-mxnet.io :as mx-io] [org.apache.clojure-mxnet.module :as m] [org.apache.clojure-mxnet.symbol :as sym] [org.apache.clojure-mxnet.ndarray :as ndarray])) Prepare the Data In this example, we are going to use the MNIST data set. If you have cloned the MXNet repo and cd contrib/clojure-package, we can run some helper scripts to download the data for us.
Squid