fakufaku / fast_bss_eval

A fast implementation of bss_eval metrics for blind source separation
https://fast-bss-eval.readthedocs.io/en/latest/
MIT License
130 stars 8 forks source link

torch backward compatibility #7

Closed fakufaku closed 2 years ago

fakufaku commented 2 years ago

Makes the package compatible with torch back to version 1.4.

codecov[bot] commented 2 years ago

Codecov Report

Merging #7 (c93fbf2) into main (5d78d29) will decrease coverage by 0.93%. The diff coverage is 76.00%.

@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
- Coverage   86.59%   85.66%   -0.94%     
==========================================
  Files          14       15       +1     
  Lines         970     1060      +90     
  Branches      149      165      +16     
==========================================
+ Hits          840      908      +68     
- Misses         84      101      +17     
- Partials       46       51       +5     
Impacted Files Coverage Δ
fast_bss_eval/torch/helpers.py 66.19% <37.50%> (+2.13%) :arrow_up:
fast_bss_eval/torch/compatibility.py 73.41% <73.41%> (ø)
fast_bss_eval/torch/cgd.py 85.29% <100.00%> (+0.17%) :arrow_up:
fast_bss_eval/torch/metrics.py 94.44% <100.00%> (+0.07%) :arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more