Skip to content

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

@luitjens

Description

@luitjens

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions