记:关于Pytorch中Linear结构与参数权重查看
代码段:
import torch
x = torch.ones(1,3)
y = torch.nn.Linear(3,3,bias=True)
print(x)
print(y)
out = y.forward(
代码段:
import torch
x = torch.ones(1,3)
y = torch.nn.Linear(3,3,bias=True)
print(x)
print(y)
out = y.forward(