Liking cljdoc? Tell your friends :D

sturdy.numpy.read


read-npyclj

(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.
sourceraw docstring

read-npy-primitiveclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close