# 需要导入模块: from torch.nn.utils import rnn [as 别名]# 或者: from torch.nn.utils.rnn importpad_packed_sequence[as 别名]defforward(self, word, sentence_length):""" :param word: :param sentence_length: :param desorted_indices: :return: """word, sentence_length, desorted_indices = ...