(self, x)
| 22 | self.fc3 = nn.Linear(84, 10) |
| 23 | |
| 24 | def forward(self, x): |
| 25 | x = self.pool1(F.relu(self.conv1(x))) |
| 26 | x = self.pool2(F.relu(self.conv2(x))) |
| 27 | x = x.view(-1, 16 * 5 * 5) |
| 28 | x = F.relu(self.fc1(x)) |
| 29 | x = F.relu(self.fc2(x)) |
| 30 | x = self.fc3(x) |
| 31 | return x |
| 32 | |
| 33 | # 定义权值初始化 |
| 34 | def initialize_weights(self): |
nothing calls this directly
no outgoing calls
no test coverage detected