Skip to content

Commit

Permalink
publish 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
perry committed Apr 5, 2021
1 parent 5e6a6d0 commit 3db0934
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion tednet/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: UTF-8 -*-

__author__ = "Perry"
__version__ = "0.1.1"
__version__ = "0.1.2"

from ._ops import *

Expand Down
3 changes: 0 additions & 3 deletions tednet/tnn/tn_rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ def forward(self, inputs: torch.Tensor, state: LSTMState):
gate_ih = self.weight_ih(inputs)
gate_ih = self.dropout_ih(gate_ih)

print(hx.shape)
print(self.weight_hh.shape)

gate_hh = torch.mm(self.dropout_hh(hx), self.weight_hh.t())
gates = gate_ih + gate_hh + self.bias_hh

Expand Down

0 comments on commit 3db0934

Please sign in to comment.