Guest User

Untitled

a guest
Feb 15th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. def forward(self, x, prev_state):
  2. embed = self.embedding(x)
  3. output, state = self.lstm(embed, prev_state)
  4. logits = self.dense(output)
  5.  
  6. return logits, state
Add Comment
Please, Sign In to add comment