From 186e17dbe7b8b14a48a8943a6f994f7d6fd9548a Mon Sep 17 00:00:00 2001 From: Maxime G Date: Tue, 27 Jun 2023 05:34:25 +0200 Subject: [PATCH] [Docs] Fix a comment in runner tutorial (#1210) --- docs/en/tutorials/runner.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/tutorials/runner.md b/docs/en/tutorials/runner.md index c6bd153f..49039096 100644 --- a/docs/en/tutorials/runner.md +++ b/docs/en/tutorials/runner.md @@ -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,