Confusion about calling asArray
on MLXArray
returned from indexing
#83
Labels
bug
Something isn't working
asArray
on MLXArray
returned from indexing
#83
This may just be my confusion but as shown in the example below, I was expecting that calling
asArray
on theMLXArray
returned from indexing would give[1, 2, 4, 5]
but ended up getting[1,2,3,4]
. This seems to be inconsistent with the python api where callingtolist()
would give[[1, 2], [4, 5]]
.The documentation doesn't seem to mention this behavior either
The text was updated successfully, but these errors were encountered: