Lines Matching full:tanh
19 cellgate = cellgate.tanh()
23 hy = outgate * cy.tanh()
43 cellgate = torch.tanh(cellgate)
47 hy = outgate * torch.tanh(cy)
67 cellgate = torch.tanh(cellgate)
71 hy = outgate * torch.tanh(cy)
90 cellgate = torch.tanh(cellgate)
94 hy = outgate * torch.tanh(cy)
109 cellgate = torch.tanh(cellgate)
113 hy = outgate * torch.tanh(cy)
126 newgate = torch.tanh(i_n + resetgate * h_n)
141 return torch.tanh(igates + hgates)