lf1-io / padl

Functional deep learning
Apache License 2.0
106 stars 4 forks source link

Fix transform subclass dump #416

Closed wuhu closed 2 years ago

wuhu commented 2 years ago

Support dumping subclasses of transforms without needing to decorate them again.

codecov-commenter commented 2 years ago

Codecov Report

Merging #416 (75d53c7) into main (7359ddd) will increase coverage by 0.18%. The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #416      +/-   ##
==========================================
+ Coverage   87.67%   87.85%   +0.18%     
==========================================
  Files          15       15              
  Lines        3009     3013       +4     
==========================================
+ Hits         2638     2647       +9     
+ Misses        371      366       -5     
Impacted Files Coverage Δ
padl/dumptools/inspector.py 93.38% <75.00%> (+1.72%) :arrow_up:
padl/transforms.py 91.66% <100.00%> (+0.01%) :arrow_up:
padl/dumptools/sourceget.py 87.70% <0.00%> (+0.81%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7359ddd...75d53c7. Read the comment docs.