inconsistent behavior of as_tuple in nonzero method between open3d and pytorch #7166
Open
3 tasks done
Labels
bug
Not a build issue, this is likely a bug.
Checklist
main
branch).Describe the issue
Seems that the behavior of as_tuple in nonzero method is not consistent with pytorch, and it is reversed from the meaning of as_tuple.
For instance, a.nonzero(as_tuple=True) retur a tensor and a.nonzero(as_tuple=False) return a list of tensors.
Steps to reproduce the bug
Error message
Expected behavior
No response
Open3D, Python and System information
Additional information
No response
The text was updated successfully, but these errors were encountered: