Add type hints for mmcv/cnn/utils (#1996)
* Add typehint in mmcv/cnn/utils/* * Update mmcv/cnn/utils/flops_counter.py Co-authored-by:Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmcv/cnn/utils/weight_init.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Fix bugs * Fix * Fix2 * Update mmcv/cnn/utils/weight_init.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmcv/cnn/utils/flops_counter.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmcv/cnn/utils/weight_init.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmcv/cnn/utils/weight_init.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Fix * minor fix * line is too long. * Update mmcv/cnn/utils/weight_init.py Co-authored-by:
Jiazhen Wang <47851024+teamwong111@users.noreply.github.com> * Fix * Update mmcv/cnn/utils/weight_init.py * fix default value of float type hint * fix default value of float type hint * fix default value of float type hint * fix default value of float type hint * fix default value of float type hint * fix default value of float type hint * fix default value of float type hint * Fix * minor refinement * replace list with tuple for input Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Jiazhen Wang <47851024+teamwong111@users.noreply.github.com> Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> Co-authored-by:
zhouzaida <zhouzaida@163.com>
Showing
Please register or sign in to comment