... vocab_dict = {} for i,vocab in enumerate(vocabs): one_hots.append([0]*len(vocabs)) ... tensor([[1, 1, 0, 0, 0], [1, 1, 1, 1, 0]]) torch.
確定! 回上一頁