Skip to content

Commit 1865300

Browse files
authored
chore: add model as recommended parameter for validate() (#15086)
1 parent aa12727 commit 1865300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source-pytorch/common/trainer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ or after it has already been trained.
164164

165165
.. code-block:: python
166166
167-
trainer.validate(dataloaders=val_dataloaders)
167+
trainer.validate(model=model, dataloaders=val_dataloaders)
168168
169169
------------
170170

0 commit comments

Comments
 (0)