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
Please make tensor.Tensor implement the tensor_utils.TensorLike trait. As far as I can tell it already implements the required functions, but it does not implement this trait as of mojo 25.1.0.dev2024121705 (67a9f701)
What is your motivation for this change?
At the moment, there is no way to abstract over things that are tensor like including tensors without writing overloads, since tensor_utils.TensorLike currently only includes tensor-like constructs which are themselves not tensors. This is surprising behavior to me, since I had assumed that tensors are tensor-like.
Any other details?
No response
The text was updated successfully, but these errors were encountered:
What is your request?
Please make
tensor.Tensor
implement thetensor_utils.TensorLike
trait. As far as I can tell it already implements the required functions, but it does not implement this trait as ofmojo 25.1.0.dev2024121705 (67a9f701)
What is your motivation for this change?
At the moment, there is no way to abstract over things that are tensor like including tensors without writing overloads, since
tensor_utils.TensorLike
currently only includes tensor-like constructs which are themselves not tensors. This is surprising behavior to me, since I had assumed that tensors are tensor-like.Any other details?
No response
The text was updated successfully, but these errors were encountered: