MXNet supports the Clojure programming language. The MXNet Clojure package brings flexible and efficient GPU computing and state-of-art deep learning to Clojure. It enables you to write seamless tensor/matrix computation with multiple GPUs in Clojure. It also lets you construct and customize the state-of-art deep learning models in Clojure, and apply them to tasks, such as image classification and data science challenges.
See the MXNet Clojure API Documentation for detailed API information.
.. toctree::
:maxdepth: 1
kvstore.md
module.md
ndarray.md
symbol_in_pictures.md
symbol.md
You can perform tensor or matrix computation in pure Clojure:
(def arr (ndarray/ones [2 3]))
arr ;=> #object[org.apache.mxnet.NDArray 0x597d72e "org.apache.mxnet.NDArray@e35c3ba9"]
(ndarray/shape-vec arr) ;=> [2 3]
(-> (ndarray/* arr 2)
(ndarray/->vec)) ;=> [2.0 2.0 2.0 2.0 2.0 2.0]
(ndarray/shape-vec (ndarray/* arr 2)) ;=> [2 3]
Can you improve this documentation? These fine people already did:
Sheng Zha, Aaron Markham & Carin MeierEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close