在pytorch裡面實現word embedding是通過一個函式來實現的:nn.Embedding # -*- coding: utf-8 -*- import numpy as np import torch import torch.nn ...
確定! 回上一頁