Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[Clojure] Change the NDArray Example to use the ndarray formatted printer #14272

Closed
gigasquid opened this issue Feb 27, 2019 · 1 comment
Closed

Comments

@gigasquid
Copy link
Member

The Scala package has a new toString method for NDArray that can print out content.

This would be nice to showcase in our NDArray Tutorial.

Example:

user=> (println (str (ndarray/ones [3 3])))
[
 [1.0,1.0,1.0]
 [1.0,1.0,1.0]
 [1.0,1.0,1.0]
]
<NDArray (3,3) cpu(0) float32>
nil
user=> 

https://mxnet.apache.org/api/clojure/index.html
https://mxnet.apache.org/api/clojure/ndarray.html

@mxnet-label-bot
Copy link
Contributor

Hey, this is the MXNet Label Bot.
Thank you for submitting the issue! I will try and suggest some labels so that the appropriate MXNet community members can help resolve it.
Here are my recommended labels: Doc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants