opendilab / DI-engine

OpenDILab Decision AI Engine. The Most Comprehensive Reinforcement Learning Framework B.P.
https://di-engine-docs.readthedocs.io
Apache License 2.0
3k stars 367 forks source link

polish(pu): polish comments and styles in files within torch_utils/network #745

Closed puyuan1996 closed 9 months ago

puyuan1996 commented 11 months ago

Description

Related Issue

TODO

Check List

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (ac9fa76) 77.10% compared to head (174370d) 77.07%.

:exclamation: Current head 174370d differs from pull request most recent head df2fe3e. Consider uploading reports for the commit df2fe3e to get more accurate results

Files Patch % Lines
ding/torch_utils/network/resnet.py 96.29% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #745 +/- ## ========================================== - Coverage 77.10% 77.07% -0.03% ========================================== Files 671 671 Lines 53775 53774 -1 ========================================== - Hits 41461 41448 -13 - Misses 12314 12326 +12 ``` | [Flag](https://app.codecov.io/gh/opendilab/DI-engine/pull/745/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendilab) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/opendilab/DI-engine/pull/745/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendilab) | `77.07% <98.07%> (-0.03%)` | :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=opendilab#carryforward-flags-in-the-pull-request-comment) to find out more.

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