Skip to content

Commit

Permalink
Merge pull request #298 from atwam/patch-1
Browse files Browse the repository at this point in the history
Fix invalid escape sequence in einsum docstring
  • Loading branch information
arogozhnikov authored Dec 11, 2023
2 parents a6e9353 + db815ca commit 44080db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion einops/einops.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ def einsum(tensor1: Tensor, tensor2: Tensor, tensor3: Tensor, tensor4: Tensor, p


def einsum(*tensors_and_pattern: Union[Tensor, str]) -> Tensor:
"""
r"""
einops.einsum calls einsum operations with einops-style named
axes indexing, computing tensor products with an arbitrary
number of tensors. Unlike typical einsum syntax, here you must
Expand Down

0 comments on commit 44080db

Please sign in to comment.