-
-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Description
Line 344 in d37f06c
user> (def tens-data (as-tensor ones-ary)) |
(require '[libpython-clj2.python :as py])
(require '[tech.v3.tensor :refer [as-tensor]])
(py/initialize!)
(def np (py/import-module "numpy"))
(def ones-ary (py/call-attr np "ones" [2 3]))
(as-tensor ones-ary)
gives nil
while Usage.ml
says it should give
#tech.v2.tensor<float64>[2 3]
[[1.000 1.000 1.000]
[1.000 1.000 1.000]]
Metadata
Metadata
Assignees
Labels
No labels