摘要: 记得在代码的开始引入 import torch import torch.nn as nn 举个常用的例子 #以下代码为pytorch的python代码 embedding = nn.Embedding(10, 3) print(embedding.weight) input = torch.Lon 阅读全文
posted @ 2022-07-18 23:28 猪猪猪猪侠 阅读(601) 评论(0) 推荐(0) 编辑