understanding how PyTorch Linear works

后端 未结 0 609
遇见更好的自我
遇见更好的自我 2021-01-20 22:25

I am considering the sample code from the documentation:

import torch
from torch import nn
#
m = nn.Linear(20, 30)
input = torch.randn(128, 20)
output = m(inp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题