Skip to content

BUG: einsum rejects spaces around ellipsis: #10794

@eric-wieser

Description

@eric-wieser
>>> x = np.eye(1)
>>> np.einsum('...ab, ...bc ->...ac', x, x)
np.array([[1.]])
>>> np.einsum('...ab, ...bc -> ...ac', x, x)
ValueError: einstein sum subscripts string contains a '.' that is not part of an ellipsis ('...')

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions