Closed mtsokol closed 5 months ago
The PR is ready from my side - I added tests and addressed all comments.
Attention: Patch coverage is 87.30159%
with 8 lines
in your changes are missing coverage. Please review.
:exclamation: No coverage uploaded for pull request base (
main@8342c52
). Click here to learn what that means.
Files | Patch % | Lines |
---|---|---|
src/finch/tensor.py | 89.47% | 6 Missing :warning: |
src/finch/dtypes.py | 60.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hi @willow-ahrens @hameerabbasi Can we merge this PR? Do you have any other comments?
Hi @hameerabbasi,
This PR add a couple of simple Array API functions:
Adds
__bool__
, etc. toTensor
class.It also introduces a few modifications to correctly run
array-api-test
suite.The tricky part is
reshape
which we don't have right now but it's required by most ofarray-api-tests
suites to even run them. Maybe one option could be another env varTEST_MODE
that when set enables temporary implementation (that moves to numpy, reshapes, and moves back to Tensor). OtherwiseNotImplementedError
is raised. WDYT?