nn.Linear 层,即线性层,是一个使用权重和偏差对输入数据作线性变换的模块。 layer1 = nn.Linear(in_features=28*28, out_features=20) #输入 ...
確定! 回上一頁