Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Transform Ops have incorrect rank and size #725

Closed
luitjens opened this issue Aug 20, 2024 · 0 comments · Fixed by #726
Closed

[BUG] Transform Ops have incorrect rank and size #725

luitjens opened this issue Aug 20, 2024 · 0 comments · Fixed by #726

Comments

@luitjens
Copy link
Collaborator

When a user creates a transform op then queries the rank and size of that op it returns -1 for rank and 0 for size.

The cause of this is that we return an mtie for transform ops here:

https://github.com/NVIDIA/MatX/blob/main/include/matx/core/tensor.h#L285-L296

Mtie currently returns matxNoRank for rank and 0 for size here:

https://github.com/NVIDIA/MatX/blob/main/include/matx/core/tie.h#L84-L92

This causes issues if you try to then pass that transform into other ops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant