Skip to content

Flag to indicate dimension ordering in array files #67

@dilpath

Description

@dilpath

Currently, we ignore the differences in array dimension ordering between frameworks.

We could add dimension ordering to each array in an array file, where we assume pytorch array dimensions are ordered sequentially like [1,2,3] as a baseline. If array dimensions from Julia are relatively ordered [3,1,2,], then dimension_order := [3,1,2] would appear next to the that array-from-Julia in the array file.

Or we can add some global flag like pytorch_dimension_order=True/False to the array file. If True, then we can easily port arrays to different frameworks. If False, then we can't. I would implement this simple solution. No plans for implementing dimension_order.

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