Skip to content

Commit

Permalink
fix typo in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
lubbersnick authored Apr 5, 2024
1 parent 3ddc0c6 commit e84f93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/feature_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import torch

if torch.cuda.is_available():
device = torch.cuda.get_default_device
device = torch.device(0)
else:
device = torch.device("cpu")
import hippynn
Expand Down

0 comments on commit e84f93c

Please sign in to comment.