Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
GilesStrong committed Feb 10, 2020
1 parent ab1ba1e commit 4a51d63
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lumin/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
__all__ = ['to_np', 'to_device', 'to_tensor', 'str2bool', 'to_binary_class', 'ids2unique', 'FowardHook', 'subsample_df']

device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu') # TODO: make device choosable by user
#device = torch.device('cpu') # TODO: make device choosable by user


def to_np(x:Tensor) -> np.ndarray:
Expand Down

0 comments on commit 4a51d63

Please sign in to comment.