ASEM000 / pytreeclass

Visualize, create, and operate on pytrees in the most intuitive way possible.
https://pytreeclass.rtfd.io/en/latest
Apache License 2.0
42 stars 2 forks source link

Add torch backend #88

Closed ASEM000 closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 90.28% and project coverage change: -1.58% :warning:

Comparison is base (40d9662) 98.26% compared to head (8f35192) 96.68%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #88 +/- ## ========================================== - Coverage 98.26% 96.68% -1.58% ========================================== Files 13 13 Lines 2015 2081 +66 ========================================== + Hits 1980 2012 +32 - Misses 35 69 +34 ``` | [Files Changed](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem) | Coverage Δ | | |---|---|---| | [tests/test\_operator.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-dGVzdHMvdGVzdF9vcGVyYXRvci5weQ==) | `92.00% <73.33%> (ø)` | | | [pytreeclass/\_src/code\_build.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy9jb2RlX2J1aWxkLnB5) | `94.83% <75.00%> (-2.33%)` | :arrow_down: | | [tests/test\_pprint.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-dGVzdHMvdGVzdF9wcHJpbnQucHk=) | `95.31% <78.94%> (ø)` | | | [tests/test\_treeclass.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-dGVzdHMvdGVzdF90cmVlY2xhc3MucHk=) | `97.40% <78.94%> (-0.92%)` | :arrow_down: | | [tests/test\_index.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-dGVzdHMvdGVzdF9pbmRleC5weQ==) | `92.00% <86.84%> (ø)` | | | [tests/test\_mask.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-dGVzdHMvdGVzdF9tYXNrLnB5) | `98.51% <93.65%> (ø)` | | | [pytreeclass/\_src/tree\_mask.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy90cmVlX21hc2sucHk=) | `94.06% <95.23%> (-0.72%)` | :arrow_down: | | [pytreeclass/\_src/tree\_index.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy90cmVlX2luZGV4LnB5) | `97.38% <96.96%> (-0.03%)` | :arrow_down: | | [pytreeclass/\_src/tree\_base.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy90cmVlX2Jhc2UucHk=) | `98.64% <100.00%> (-0.02%)` | :arrow_down: | | [pytreeclass/\_src/tree\_pprint.py](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem#diff-cHl0cmVlY2xhc3MvX3NyYy90cmVlX3BwcmludC5weQ==) | `98.86% <100.00%> (-0.01%)` | :arrow_down: | | ... and [2 more](https://app.codecov.io/gh/ASEM000/PyTreeClass/pull/88?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Mahmoud+Asem) | |

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