luerhard commited on
Commit
f0fdc3b
·
1 Parent(s): 0e6cb92

add annotations for compatibility with older python versions

Browse files
Files changed (1) hide show
  1. module.py +2 -0
module.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import torch
2
  from torch import nn
3
  from torch.nn import BCEWithLogitsLoss
 
1
+ from __future__ import annotations
2
+
3
  import torch
4
  from torch import nn
5
  from torch.nn import BCEWithLogitsLoss