We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb6e8c commit 294db45Copy full SHA for 294db45
docs/source-pytorch/starter/introduction.rst
@@ -231,7 +231,7 @@ Enable advanced training features using Trainer arguments. These are state-of-th
231
.. code::
232
233
# train on 4 GPUs
234
- trainer = Trainer(
+ trainer = L.Trainer(
235
devices=4,
236
accelerator="gpu",
237
)
@@ -252,7 +252,7 @@ Enable advanced training features using Trainer arguments. These are state-of-th
252
253
254
# access the latest state of the art techniques
255
- trainer = Trainer(callbacks=[StochasticWeightAveraging(...)])
+ trainer = L.Trainer(callbacks=[StochasticWeightAveraging(...)])
256
257
----
258
0 commit comments