dtype-next
dtype-next copied to clipboard
The result of `compute-tensor` is printed in slices
$ clj -Sdeps '{:deps {cnuernber/dtype-next {:mvn/version "10.146"}}}'
Clojure 1.12.2
user=> (require '[tech.v3.tensor :as tensor])
nil
user=> (tensor/compute-tensor
[3 4]
(fn [row col]
(+ (* row 10) col))
:int32)
[#tech.v3.tensor<int32>[4]
[0 1 2 3] #tech.v3.tensor<int32>[4]
[10 11 12 13] #tech.v3.tensor<int32>[4]
[20 21 22 23]]
[20 21 22 23]]
user=>
Zulip discussion with @harold: #tech.ml.dataset.dev > sometimes, tensors are printed in slices
👍 - recreated this locally ... perhaps improve the printing of these raw compute-tensor outputs...