Skip to content

Commit 0028086

Browse files
committed
update import statements
1 parent 206ddff commit 0028086

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

nalu/core/nac_cell.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from torch import Tensor, nn
22
from torch.nn.parameter import Parameter
33
from torch.nn.init import xavier_uniform_
4-
from torch.nn.functional import tanh, sigmoid, linear
4+
from torch.nn.functional import linear
5+
from torch import sigmoid, tanh
56

67

78
class NacCell(nn.Module):

nalu/core/nalu_cell.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from torch import Tensor, exp, log, nn
22
from torch.nn.parameter import Parameter
33
from torch.nn.init import xavier_uniform_
4-
from torch.nn.functional import sigmoid, linear
4+
from torch.nn.functional import linear
5+
from torch import sigmoid
56
from .nac_cell import NacCell
67

78

0 commit comments

Comments
 (0)