kendryte / nncase

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

Fix GetItem #1114

Closed FusionBolt closed 12 months ago

FusionBolt commented 12 months ago

fix bug for GetItem kernels

github-actions[bot] commented 12 months ago

Test Results

5 831 tests  ±0   5 831 :heavy_check_mark: ±0   9m 39s :stopwatch: -10s        6 suites ±0          0 :zzz: ±0         6 files   ±0          0 :x: ±0 

Results for commit d768420b. ± Comparison against base commit ef3d74fc.

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

codecov[bot] commented 12 months ago

Codecov Report

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

Comparison is base (edde68e) 79.22% compared to head (d768420) 76.69%. Report is 11 commits behind head on release/2.0.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/2.0 #1114 +/- ## =============================================== - Coverage 79.22% 76.69% -2.54% =============================================== Files 689 689 Lines 24267 24664 +397 Branches 0 4005 +4005 =============================================== - Hits 19226 18915 -311 - Misses 5041 5129 +88 - Partials 0 620 +620 ``` | [Flag](https://app.codecov.io/gh/kendryte/nncase/pull/1114/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/1114/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte) | `40.10% <57.50%> (-0.98%)` | :arrow_down: | | [unit](https://app.codecov.io/gh/kendryte/nncase/pull/1114/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte) | `68.65% <41.25%> (-3.58%)` | :arrow_down: | 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/1114?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte) | Coverage Δ | | |---|---|---| | [...odules.StackVM/CodeGen/StackVM/CodeGenVisitor.g.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1114?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-bW9kdWxlcy9ObmNhc2UuTW9kdWxlcy5TdGFja1ZNL0NvZGVHZW4vU3RhY2tWTS9Db2RlR2VuVmlzaXRvci5nLmNz) | `64.92% <ø> (ø)` | | | [...les.StackVM/CodeGen/StackVM/StackVMLinkedModule.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1114?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-bW9kdWxlcy9ObmNhc2UuTW9kdWxlcy5TdGFja1ZNL0NvZGVHZW4vU3RhY2tWTS9TdGFja1ZNTGlua2VkTW9kdWxlLmNz) | `100.00% <100.00%> (ø)` | | | [src/Nncase.Core/Quantization/QuantizeOptions.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1114?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5Db3JlL1F1YW50aXphdGlvbi9RdWFudGl6ZU9wdGlvbnMuY3M=) | `100.00% <100.00%> (ø)` | | | [src/Nncase.Importer/Onnx/Conv2D.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1114?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%> (-7.86%)` | :arrow_down: | | [src/Nncase.Importer/Onnx/Gemm.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1114?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5JbXBvcnRlci9Pbm54L0dlbW0uY3M=) | `80.00% <100.00%> (-8.89%)` | :arrow_down: | | [src/Nncase.Importer/Onnx/MatMul.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1114?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/Onnx/ReduceWindow2D.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1114?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5JbXBvcnRlci9Pbm54L1JlZHVjZVdpbmRvdzJELmNz) | `74.19% <ø> (-9.68%)` | :arrow_down: | | [src/Nncase.Importer/TFLite/Activations.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1114?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5JbXBvcnRlci9URkxpdGUvQWN0aXZhdGlvbnMuY3M=) | `72.41% <100.00%> (+3.18%)` | :arrow_up: | | [src/Nncase.Importer/TFLite/Binary.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1114?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte#diff-c3JjL05uY2FzZS5JbXBvcnRlci9URkxpdGUvQmluYXJ5LmNz) | `66.66% <100.00%> (+23.80%)` | :arrow_up: | | [src/Nncase.Importer/TFLite/Conv2DTranspose.cs](https://app.codecov.io/gh/kendryte/nncase/pull/1114?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%> (ø)` | | | ... and [8 more](https://app.codecov.io/gh/kendryte/nncase/pull/1114?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kendryte) | | ... and [187 files with indirect coverage changes](https://app.codecov.io/gh/kendryte/nncase/pull/1114/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.