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

Bug in einsum #1184

Closed
ricardoV94 opened this issue Feb 3, 2025 · 0 comments · Fixed by #1185
Closed

Bug in einsum #1184

ricardoV94 opened this issue Feb 3, 2025 · 0 comments · Fixed by #1185
Labels
bug Something isn't working NumPy compatibility

Comments

@ricardoV94
Copy link
Member

ricardoV94 commented Feb 3, 2025

Description

import pytensor.tensor as pt

pt.einsum("..., ..., ...-> ...", pt.ones(2), pt.ones(2), pt.ones(2))
# ValueError: Each step of einsum must have 1 or 2 operands, got 3

Found when trying to add einops support: arogozhnikov/einops#362

@ricardoV94 ricardoV94 added bug Something isn't working NumPy compatibility labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working NumPy compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant