working on trainer docs

This commit is contained in:
William Falcon
2020-01-21 13:56:29 -05:00
parent 309888e403
commit 4cdcdf7688
+1
View File
@@ -852,6 +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