Skip to content

[FEA] Support N-D unit tests #296

@cliffburdick

Description

@cliffburdick

The utility functions to convert numpy arrays to tensors only support up to 4D tensors. We should support any arbitrary tensor rank converting to and from numpy.

@nvjonwong recently added a 5D matmul test, but it had to hack around the outer loop because of this limitation:
https://github.com/NVIDIA/MatX/pull/911/files#diff-7a744baf9323d989cd65822b8adbad0385a4e384e31ec85f9a1afaf310b66615

Once the conversion is done this test should be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions