[Feature] Add Sync Buffer Hook (#57)
* [Feature]: Add Part3 of Hooks
* [Feature]: Add Hook
* [Fix]: Add docstring and type hint for base hook
* add sync buffer hook
* update typing hint and docs
* fix lint
* fix mypy
* fix lint
* use mock from unittest
Co-authored-by:
seuyou <3463423099@qq.com>
mmengine/hooks/sync_buffer_hook.py
0 → 100644
tests/test_hook/test_sync_buffers_hook.py
0 → 100644
Please register or sign in to comment