-
Notifications
You must be signed in to change notification settings - Fork 132
BUG: tensor.transpose fails with np.array input #1142
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
Labels
Comments
@velochy wanna open a PR? |
Can give it a try, sure |
velochy
added a commit
to velochy/pytensor
that referenced
this issue
Mar 1, 2025
10 tasks
Better late than never, I hope :) |
💯 |
velochy
added a commit
to velochy/pytensor
that referenced
this issue
Mar 1, 2025
ricardoV94
pushed a commit
that referenced
this issue
Mar 9, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue:
as written: pytensor.tensor.transpose fails if fed a numpy array. Works with list or tuple.
Reproducable code example:
Error message:
PyTensor version information:
pytensor v 2.26.4
Context for the issue:
Not a major issue (as workaround is easy - just cast to list), but if compatibility with numpy is desired, it would be nice if it worked :)
The text was updated successfully, but these errors were encountered: