Closed CBLBY closed 5 years ago
line33~35行 """unpack: out""" out = torch.nn.utils.rnn.pad_packed_sequence(x_emb_p, batch_first=self.batch_first) out = out[0] #
此时为什么执行 out = out[0]
line33~35行 """unpack: out""" out = torch.nn.utils.rnn.pad_packed_sequence(x_emb_p, batch_first=self.batch_first) out = out[0] #
此时为什么执行 out = out[0]