Open behrica opened 9 months ago
https://clojurians.zulipchat.com/#narrow/stream/236259-tech.2Eml.2Edataset.2Edev/topic/tensor-.3Edataset.20not.20working.20for.202-d.20arrays
(tech.v3.dataset.tensor/tensor->dataset (to-array-2d [[1 1] [1 2] [2 2] [2 3]]))
fails., while it works for other 2D structures (seq-of-seq, tensor). Any reason for this ?
similar here:
(dst/tensor->dataset (to-array [(int-array [1 1]) (int-array [1 2]) (int-array [2 2]) (int-array [2 3])]))
No great reason - does as-tensor work for the 2d-array?
no, returns nil
https://clojurians.zulipchat.com/#narrow/stream/236259-tech.2Eml.2Edataset.2Edev/topic/tensor-.3Edataset.20not.20working.20for.202-d.20arrays
fails., while it works for other 2D structures (seq-of-seq, tensor). Any reason for this ?
similar here: