pytorch
a2368a7c - [dynamo] delegate handling of len() of TensorVariable to size(0) (#92016)

Commit
2 years ago
[dynamo] delegate handling of len() of TensorVariable to size(0) (#92016) We delegate the handling logic of __len__ in TensorVariable to size(0). This seems to also fix several expected failures that are related to len(). Fixes #91901 Pull Request resolved: https://github.com/pytorch/pytorch/pull/92016 Approved by: https://github.com/ezyang
Author
Committer
Parents
Loading