mirror of
https://github.com/open-mmlab/mmcv.git
synced 2025-06-03 21:54:52 +08:00
[Docs] Fix the example error in registry.md (#2243)
the lack of colon(:)
This commit is contained in:
parent
e843d73fc7
commit
7f09a983c3
@ -56,7 +56,7 @@ from .converter1 import Converter1
|
|||||||
|
|
||||||
# 使用注册器管理模块
|
# 使用注册器管理模块
|
||||||
@CONVERTERS.register_module()
|
@CONVERTERS.register_module()
|
||||||
def converter2(a, b)
|
def converter2(a, b):
|
||||||
return Converter1(a, b)
|
return Converter1(a, b)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user