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

Make the transpose method a property #98

Merged
merged 2 commits into from
Aug 10, 2023
Merged

Make the transpose method a property #98

merged 2 commits into from
Aug 10, 2023

Conversation

adtzlr
Copy link
Owner

@adtzlr adtzlr commented Aug 10, 2023

Idea by @ZAARAOUI999: Decorate the transpose-method as @property as discussed in #96.

This changes the transpose method of a tensor Tensor(x).T() to NumPy-syntax Tensor(x).T

closes #78
closes #97

WARNING: Breaks backward compatibility.

@adtzlr adtzlr added the enhancement New feature or request label Aug 10, 2023
@adtzlr adtzlr self-assigned this Aug 10, 2023
@adtzlr adtzlr merged commit 8112c6b into main Aug 10, 2023
5 checks passed
@adtzlr adtzlr deleted the transpose-as-property branch August 10, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant