[Docs] Fix a comment in runner tutorial (#1210)

This commit is contained in:
Maxime G 2023-06-27 05:34:25 +02:00 committed by GitHub
parent 478c952a6d
commit 186e17dbe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,7 +228,7 @@ class MyAwesomeModel(BaseModel): # your custom model
def __init__(self, layers=18, activation='silu'):
...
# An example of manual construction
# An example of construction via registry
runner = Runner(
model=dict(
type='MyAwesomeModel',
@ -237,7 +237,7 @@ runner = Runner(
...
)
# An example of construction via registry
# An example of manual construction
model = MyAwesomeModel(layers=18, activation='relu')
runner = Runner(
model=model,