Skip to content

Commit

Permalink
overridden typo
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed May 15, 2020
1 parent 5c19579 commit 8779ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/trainer/distrib_parts.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def transfer_batch_to_gpu(self, batch: Any, gpu_id: int):

def __transfer_data_to_device(self, batch: Any, device: torch.device):

if self.is_overriden('transfer_batch_to_device'):
if self.is_overridden('transfer_batch_to_device'):
return self.get_model().transfer_batch_to_device(batch, device)

# base case: object can be directly moved using `to`
Expand Down

0 comments on commit 8779ba5

Please sign in to comment.