Making transpose function as a property #96
ZAARAOUI999
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi @ZAARAOUI999! Thank you for your valuable idea - I didn't know that before. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Mr Andreas, I wanna share with you this small trick, it looks like not interesting but...
So, my idea is just to add
@property
before this function in theTensor
class:So the user can get the transpose with just typing
Tensor.T
rather thanTensor.T()
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions