kendryte / nncase

Open deep learning compiler stack for Kendryte AI accelerators ✨
Apache License 2.0
747 stars 181 forks source link

Feature/egraph fakepass #1111

Closed uranus0515 closed 12 months ago

uranus0515 commented 1 year ago

1, change some transform to egraph; 2, revise some bugs for quant as to json; 3, revise some bugs for k230 tiling.

github-actions[bot] commented 1 year ago

Test Results

5 831 tests  +5 831   5 831 :heavy_check_mark: +5 831   11m 12s :stopwatch: + 11m 12s        6 suites +       6          0 :zzz: ±       0         6 files   +       6          0 :x: ±       0 

Results for commit 37a4fad1. ± Comparison against base commit 9a7268c0.

:recycle: This comment has been updated with latest results.

codecov[bot] commented 1 year ago

Codecov Report

Attention: 20 lines in your changes are missing coverage. Please review.

Comparison is base (355b8c4) 76.76% compared to head (37a4fad) 76.75%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1111 +/- ## ========================================== - Coverage 76.76% 76.75% -0.01% ========================================== Files 689 689 Lines 24328 24348 +20 Branches 3873 3881 +8 ========================================== + Hits 18675 18689 +14 - Misses 5049 5052 +3 - Partials 604 607 +3 ``` | [Flag](https://app.codecov.io/gh/kendryte/nncase/pull/1111/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte) | Coverage Δ | | |---|---|---| | [integration](https://app.codecov.io/gh/kendryte/nncase/pull/1111/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte) | `40.48% <29.67%> (+<0.01%)` | :arrow_up: | | [unit](https://app.codecov.io/gh/kendryte/nncase/pull/1111/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte) | `68.62% <73.62%> (+<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=kendryte#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte) | Coverage Δ | | |---|---|---| | [src/Nncase.Core/Passes/RunPassContext.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5Db3JlL1Bhc3Nlcy9SdW5QYXNzQ29udGV4dC5jcw==) | `100.00% <100.00%> (ø)` | | | [src/Nncase.Core/PatternMatch/IMatchResult.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5Db3JlL1BhdHRlcm5NYXRjaC9JTWF0Y2hSZXN1bHQuY3M=) | `0.00% <ø> (ø)` | | | [src/Nncase.Core/PatternMatch/MatchResult.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5Db3JlL1BhdHRlcm5NYXRjaC9NYXRjaFJlc3VsdC5jcw==) | `84.61% <100.00%> (+1.28%)` | :arrow_up: | | [src/Nncase.Core/Utilities/ReplaceUtility.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5Db3JlL1V0aWxpdGllcy9SZXBsYWNlVXRpbGl0eS5jcw==) | `96.42% <100.00%> (-0.24%)` | :arrow_down: | | [src/Nncase.EGraph/Passes/RewriteProvider.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5FR3JhcGgvUGFzc2VzL1Jld3JpdGVQcm92aWRlci5jcw==) | `93.33% <100.00%> (+0.15%)` | :arrow_up: | | [src/Nncase.Importer/Onnx/Conv2D.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5JbXBvcnRlci9Pbm54L0NvbnYyRC5jcw==) | `69.23% <100.00%> (ø)` | | | [src/Nncase.Importer/Onnx/MatMul.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5JbXBvcnRlci9Pbm54L01hdE11bC5jcw==) | `100.00% <100.00%> (ø)` | | | [src/Nncase.Importer/TFLite/Conv2DTranspose.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5JbXBvcnRlci9URkxpdGUvQ29udjJEVHJhbnNwb3NlLmNz) | `100.00% <100.00%> (ø)` | | | [src/Nncase.Importer/TFLite/MatMul.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5JbXBvcnRlci9URkxpdGUvTWF0TXVsLmNz) | `63.82% <100.00%> (ø)` | | | [src/Nncase.Passes/PassManager.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5QYXNzZXMvUGFzc01hbmFnZXIuY3M=) | `90.27% <100.00%> (+0.06%)` | :arrow_up: | | ... and [5 more](https://app.codecov.io/gh/kendryte/nncase/pull/1111?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte) | | ... and [6 files with indirect coverage changes](https://app.codecov.io/gh/kendryte/nncase/pull/1111/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte)

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