Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify broadcasting behavior in
vecdot
(#473)
This resolves #471. The existing spec provides conflicting guidance saying both that the axes over which to compute the dot product must be equal, while also saying that input arrays must be broadcast compatible without qualification, thus implying that the contracted axis could also broadcast. This commit explicitly defines broadcast behavior for only the contracted axes, thus bringing vecdot inline with broadcasting behavior in tensordot.
- Loading branch information