[BUG] Stacking NonTensorData
does not appear to return a NonTensorStack
#1047
Labels
bug
Something isn't working
Describe the bug
Hi, please let me know if I'm using this feature incorrectly or if this is well known.
I've been unable to get
NonTensorStack
to work in various contexts.The simplest example I can come up with is this one:
I expected all of these examples to produce a
NonTensorStack
, yet onlyb_stack
appears to produce what I was expecting:I think I'd have hoped to see
torch.stack((a,a), dim=0).data == [{}, {}]
torch.stack((b,b), dim=0).data == [[{}], [{}]]
torch.stack((a_stack,a_stack), dim=0).data == [{}, {}]
This may be a separate issue, but even for the final case that appears to somewhat work...
there's still a number of issues that make it unusable for even the most basic use cases...
Thanks!
Checklist
The text was updated successfully, but these errors were encountered: