Skip to content

Commit

Permalink
update import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathgs committed Sep 13, 2018
1 parent 206ddff commit 0028086
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion nalu/core/nac_cell.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from torch import Tensor, nn
from torch.nn.parameter import Parameter
from torch.nn.init import xavier_uniform_
from torch.nn.functional import tanh, sigmoid, linear
from torch.nn.functional import linear
from torch import sigmoid, tanh


class NacCell(nn.Module):
Expand Down
3 changes: 2 additions & 1 deletion nalu/core/nalu_cell.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from torch import Tensor, exp, log, nn
from torch.nn.parameter import Parameter
from torch.nn.init import xavier_uniform_
from torch.nn.functional import sigmoid, linear
from torch.nn.functional import linear
from torch import sigmoid
from .nac_cell import NacCell


Expand Down

0 comments on commit 0028086

Please sign in to comment.