Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_vecdot does not test for conjugation in the first parameter #312

Closed
asmeurer opened this issue Nov 19, 2024 · 0 comments · Fixed by #314
Closed

test_vecdot does not test for conjugation in the first parameter #312

asmeurer opened this issue Nov 19, 2024 · 0 comments · Fixed by #314

Comments

@asmeurer
Copy link
Member

It looks like there isn't any values testing in test_vecdot at all for floating-point arguments. We should add something so that the conjugation can be tested, since this is something many implementations miss (e.g., data-apis/array-api-compat#200, data-apis/array-api-strict#97).

asmeurer added a commit to asmeurer/array-api-compat that referenced this issue Nov 19, 2024
Note that PyTorch uses its own vecdot directly for complex inputs,, which
already does conjugation.

This is currently untested by the test suite (data-apis/array-api-tests#312)

Fixes data-apis#200.
asmeurer added a commit to asmeurer/array-api-strict that referenced this issue Nov 19, 2024
This is currently untested by the test suite (data-apis/array-api-tests#312)

Fixes data-apis#97.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant