Mem2Seq icon indicating copy to clipboard operation
Mem2Seq copied to clipboard

question about function get_state?

Open hustcxx opened this issue 4 years ago • 0 comments

in function get_state (),return Variable(torch.zeros(bsz, self.embedding_dim)).cuda(),and then is used in forward function of prob = self.softmax(torch.sum(m_A*u_temp, 2)),isn't the result zero???

hustcxx avatar Aug 23 '21 12:08 hustcxx