working on trainer docs

This commit is contained in:
William Falcon
2020-01-21 13:56:01 -05:00
parent aa2d5d0efa
commit 309888e403
-2
View File
@@ -852,9 +852,7 @@ class Trainer(TrainerIOMixin,
# run test from a loaded model
model = LightningModule.load_from_checkpoint('path/to/checkpoint.ckpt')
trainer = Trainer()
trainer.test(model)
"""
self.testing = True
if model is not None: