We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
torch.einsum limits you to 26 indices but can semiring_einsum provide a non-string interface that allows more than 26?
The text was updated successfully, but these errors were encountered:
That would be a good idea. How about something like:
compile_equation('abc,cde->bd')
can be written as
compile_equation(inputs=[['a', 'b', 'c'], ['c', 'd', 'e']], output=['b', 'd'])
or
compile_equation(inputs=[[0, 1, 2], [2, 3, 4]], output=[1, 3])
Sorry, something went wrong.
That looks good to me. It's pretty close to numpy.einsum's alternative interface.
Indeed, Python's common sequence operations make it easy to support
inputs=[['a', 'b', 'c'], ['c', 'd', 'e']], output=['b', 'd']
and
inputs=["abc", "cde"], output="bd"
with the same code.
No branches or pull requests
torch.einsum limits you to 26 indices but can semiring_einsum provide a non-string interface that allows more than 26?
The text was updated successfully, but these errors were encountered: