(read-npy path)Read a NumPy .npy file and return its contents as Clojure data.
Returns a vector (1D) or vector of vectors (2D), always in row-major order.
Read a NumPy `.npy` file and return its contents as Clojure data. Returns a vector (1D) or vector of vectors (2D), always in row-major order.
(read-npy-primitive path)Read a NumPy .npy file and return decoded values in a flat primitive array.
Returns {:shape :dtype :fortran? :data} where :data is laid out according
to :fortran? and no transposition or reshaping is performed.
Read a NumPy `.npy` file and return decoded values in a flat primitive array.
Returns {:shape :dtype :fortran? :data} where `:data` is laid out according
to `:fortran?` and no transposition or reshaping is performed.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |