Skip to content

Should vecdot broadcast along the contracted axis? #471

Closed
@asmeurer

Description

@asmeurer

The spec implies that it should https://data-apis.org/array-api/latest/API_specification/generated/signatures.linear_algebra_functions.vecdot.html#signatures.linear_algebra_functions.vecdot. However, other functions like matmul do not broadcast along the contracted axis.

This came up in the numpy implementation, which is currently wrong, but is being fixed at numpy/numpy#21928.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions