makes the axis kwarg keyword-only, which differs from the OP (see https://github.com/data-apis/array-api/issues/808). This is for consistency with axis kwargs elsewhere in the specification. The proposal seemed to follow PyTorch in allowing both positional and kwarg, which could be considered allowed behavior, but positional usage won't be portable.
This PR
axis
kwarg keyword-only, which differs from the OP (see https://github.com/data-apis/array-api/issues/808). This is for consistency withaxis
kwargs elsewhere in the specification. The proposal seemed to follow PyTorch in allowing both positional and kwarg, which could be considered allowed behavior, but positional usage won't be portable.