You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by ZAARAOUI999 August 9, 2023
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 the Tensor class:
@propertydefT(self):
returntranspose(self)
So the user can get the transpose with just typing Tensor.T rather than Tensor.T()
Thanks.
The text was updated successfully, but these errors were encountered:
Discussed in #96
Originally posted by ZAARAOUI999 August 9, 2023
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.
The text was updated successfully, but these errors were encountered: