[Feature]: Add base Hook (#47)
* [Feature]: Add Part3 of Hooks
* [Feature]: Add Hook
* [Fix]: Add docstring and type hint for base hook
* [Fix]: Add test case to not the last iter, inner_iter, epoch
* [Fix]: Add missing type hint
* [Feature]: Add Args and Returns in docstring
* [Fix]: Add missing colon
* [Fix]: Add optional to docstring
* [Fix]: Fix docstring problem
* [Fix]:typo
* [Fix]: Fix lint
Co-authored-by:
Your <you@example.com>
Showing
- mmengine/__init__.py 1 addition, 0 deletionsmmengine/__init__.py
- mmengine/hooks/__init__.py 4 additions, 0 deletionsmmengine/hooks/__init__.py
- mmengine/hooks/hook.py 320 additions, 0 deletionsmmengine/hooks/hook.py
- tests/test_hook/test_hook.py 201 additions, 0 deletionstests/test_hook/test_hook.py
Loading
Please register or sign in to comment