[Feature] add nlc2nchw2nlc and nchw2nlc2nchw (#1249)
* [Feature] add nlc2nchw2nlc and nchw2nlc2nchw * add example * add test, add **kwargs to make it more universal
Showing
- mmseg/models/utils/__init__.py 3 additions, 2 deletionsmmseg/models/utils/__init__.py
- mmseg/models/utils/shape_convert.py 78 additions, 0 deletionsmmseg/models/utils/shape_convert.py
- tests/test_models/test_utils/test_shape_convert.py 89 additions, 0 deletionstests/test_models/test_utils/test_shape_convert.py
Loading
Please register or sign in to comment