mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-30 13:40:46 +08:00
set auto dp if no backend
This commit is contained in:
1 parent
3e603572a2
commit
9983a28b24
1 file changed
+1
@@ -854,6 +854,7 @@ class Trainer(TrainerIOMixin,
|
||||
trainer = Trainer()
|
||||
|
||||
trainer.test(model)
|
||||
|
||||
"""
|
||||
self.testing = True
|
||||
if model is not None:
|
||||
|
||||
Reference in new issue
Block a user