mmdetection
mmdetection copied to clipboard
Modify some typehints in csp_darknet.py
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Modify some typehints in csp_darknet.py.
Modification
Modify some typehints in csp_darknet.py.
Checklist
- Pre-commit or other linting tools are used to fix the potential lint issues.
- The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
- If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
- The documentation has been modified accordingly, like docstring or example tutorials.
Sorry, I'm not sure how to write the doc string in the forward function
Sorry, I'm not sure how to write the doc string in the forward function
You can have a look at other models. A simple example here:
"""Forward function.
Args: xxx
Returns: Tensor: """
Is there any progress?
Closed as it cannot be merged in to dev-3.x.