Skip to content

Commit

Permalink
Update index.bs
Browse files Browse the repository at this point in the history
Co-authored-by: Dwayne Robinson <[email protected]>
  • Loading branch information
inexorabletash and fdwr authored Feb 10, 2024
1 parent 7487f3d commit 312a9e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6212,6 +6212,7 @@ To <dfn data-lt="unidirectionally broadcasting the shapes">unidirectionally broa

1. Let |sizeA| be the [=list/size=] of |A|.
1. Let |sizeB| be the [=list/size=] of |B|.
1. If |sizeB| > |sizeA|, then return failure.
1. Let |outputShape| be a new [=/list=].
1. [=list/For each=] |index| in [=the range=] 0 to |sizeA|, exclusive:
1. Let |dimA| be |A|[|sizeA| - |index| - 1] if |index| < |sizeA|, or 1 otherwise.
Expand Down

0 comments on commit 312a9e8

Please sign in to comment.