Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Implementing the remaining linalg tests#95

Closed
asmeurer wants to merge 7 commits intodata-apis:masterdata-apis/array-api-tests:masterfrom
asmeurer:more-linalgasmeurer/array-api-tests:more-linalgCopy head branch name to clipboard
Closed

Implementing the remaining linalg tests#95
asmeurer wants to merge 7 commits intodata-apis:masterdata-apis/array-api-tests:masterfrom
asmeurer:more-linalgasmeurer/array-api-tests:more-linalgCopy head branch name to clipboard

Conversation

@asmeurer
Copy link
Member

@asmeurer asmeurer commented Feb 7, 2022

Now that the ndindex changes are here, I am implementing the remaining linalg tests. I still have a few left.

This logic may not be correctly general but it works for every function here
so far (not sure yet if it will be correct for tensordot).
We only test finite matrices because the svd (ord=2) might raise an exception
with infinite values.
Start implementing tests for pinv and matrix_norm.
@honno
Copy link
Member

honno commented Feb 8, 2022

LGTM as-is, I had copied this in #96 so I can check this out rebased to master and push some fixes. Feel free to merge that PR, or just pull its contents to this branch and continue working on the remaining linalg tests.

Note at some point I moved your broadcast_shapes implementation to to shape_helpers.py, which is why CI was complaining that the sh (alias of .shape_helpers) is not defined.

@honno honno closed this Feb 10, 2022
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 this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.