Skip to content

Commit

Permalink
Fix einsum documentation typo (onnx#5537)
Browse files Browse the repository at this point in the history
Fixes the typo described in onnx#5282

fixes onnx#5282

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
  • Loading branch information
gramalingam authored and Corwin Joy committed Sep 5, 2023
1 parent 49d770b commit 7d39c99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14181,7 +14181,7 @@ This version of the operator has been available since version 12 of the default
An einsum of the form `term1, term2 -> output-term` produces an output tensor using the following equation

```
output[output-term] = reduce-sum( input1[term1] * input2[term] )
output[output-term] = reduce-sum( input1[term1] * input2[term2] )
```

where the reduce-sum performs a summation over all the indices occurring in the input terms (term1, term2)
Expand Down
2 changes: 1 addition & 1 deletion docs/Operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -8031,7 +8031,7 @@ expect(
An einsum of the form `term1, term2 -> output-term` produces an output tensor using the following equation

```
output[output-term] = reduce-sum( input1[term1] * input2[term] )
output[output-term] = reduce-sum( input1[term1] * input2[term2] )
```

where the reduce-sum performs a summation over all the indices occurring in the input terms (term1, term2)
Expand Down
2 changes: 1 addition & 1 deletion onnx/defs/math/defs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2700,7 +2700,7 @@ static const char* Einsum_ver12_doc = R"DOC(
An einsum of the form `term1, term2 -> output-term` produces an output tensor using the following equation
```
output[output-term] = reduce-sum( input1[term1] * input2[term] )
output[output-term] = reduce-sum( input1[term1] * input2[term2] )
```
where the reduce-sum performs a summation over all the indices occurring in the input terms (term1, term2)
Expand Down

0 comments on commit 7d39c99

Please sign in to comment.