ValueError: Attempt to convert a value (Embedding(49290, 64, padding_idx=0)) with an unsupported type (<class 'torch.nn.modules.sparse.Embedding'>) to a Tensor.怎么将torch.nn.modules.sparse.Embedding这种类型转换成Tensor类型
收起
这个Embedding是不是要传一个tensor对象进去 再返回tensor类型的
报告相同问题?