需要導入模塊: import torch [as 別名] # 或者: from torch import max [as 別名] def greedy_decode(self, latent, max_len, start_id): ''' latent: (batch_size, ...
確定! 回上一頁