给输入的词创建词向量
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
word={
'hello':0,'world':
给输入的词创建词向量
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
word={
'hello':0,'world':