helmholtz-analytics / heat

Distributed tensors and Machine Learning framework with GPU and MPI acceleration in Python
https://heat.readthedocs.io/
MIT License
209 stars 53 forks source link

[Backport release/1.4.x] Bugfix: `_like` factories now default to same device as input DNDarray #1472

Closed github-actions[bot] closed 4 months ago

github-actions[bot] commented 4 months ago

Description

Backport of #1443 to release/1.4.x.

github-actions[bot] commented 4 months ago

Thank you for the PR!

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.59%. Comparing base (f638c93) to head (4d4a370).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/1.4.x #1472 +/- ## ============================================== Coverage 91.59% 91.59% ============================================== Files 80 80 Lines 11647 11652 +5 ============================================== + Hits 10668 10673 +5 Misses 979 979 ``` | [Flag](https://app.codecov.io/gh/helmholtz-analytics/heat/pull/1472/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=helmholtz-analytics) | Coverage Δ | | |---|---|---| | [unit](https://app.codecov.io/gh/helmholtz-analytics/heat/pull/1472/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=helmholtz-analytics) | `91.59% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=helmholtz-analytics#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.