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

[REQ] Matrix/tensor transposition using the .T convention #227

Open
yhtang opened this issue Mar 25, 2022 · 0 comments
Open

[REQ] Matrix/tensor transposition using the .T convention #227

yhtang opened this issue Mar 25, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@yhtang
Copy link
Owner

yhtang commented Mar 25, 2022

Is your feature request related to a problem? Please describe.
I believe this was once implemented in our tensor expression language, but somehow got dropped out during the redesign of the interpreter workflow. It seems that being able to express calculations like A.T @ A would still be convenient and more readable than A[k, j] * A[i, j] for many cases.

Describe the solution you'd like
Allow the .T property of a tensor expression to denote an indexless transposition operation that inverts the order of the dimensions that it has.

Additional context
Need to check what the convention for transposing high-order (>2) tensors is. I believe it is to invert the sequence of axis.

@yhtang yhtang added the feature label Mar 25, 2022
@yhtang yhtang added this to the V2.0 milestone Mar 25, 2022
@yhtang yhtang self-assigned this Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant