General protocols specific for tensors. Necessary to break the dependency chain
General protocols specific for tensors. Necessary to break the dependency chain
(dense? items)
Dense means: that the item is simply indexed (no fancy indexing) and that the strides are uniformly decreasing and they densly pack the backing store.
Dense means: that the item is simply indexed (no fancy indexing) and that the strides are uniformly decreasing *and* they densly pack the backing store.
(tensor->buffer item)
(tensor->dimensions item)
(tensor? item)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close