array-api
array-api copied to clipboard
xp.linalg.vecdot should have axis=-1 default
xp.linalg.vecdot is documented as alias to xp.vecdot.
However, xp.linalg.vecdot signature uses axis=None default, while xp.vecdot has axis=-1 as the default.
They should be consistent.
Hmmm...this should have been fixed already: https://github.com/data-apis/array-api/issues/355. The regression happened during https://github.com/data-apis/array-api/commit/cbbab62922ab7ddd4f31302c21f22d2db62d6f16. I can work on a fix and backport.