This commit is contained in:
William Falcon 2020-06-25 11:10:17 -04:00 committed by GitHub
parent f2710bb500
commit d22181714a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1193,7 +1193,8 @@ class Trainer(
self.teardown('test')
if self.is_function_implemented('teardown'):
self.model.teardown('test')
model_ref = self.get_model()
model_ref.teardown('test')
def check_model_configuration(self, model: LightningModule):
r"""