(self, x)
| 80 | return m |
| 81 | |
| 82 | def forward(self, x): |
| 83 | outputs = {} |
| 84 | x = self.stem(x) |
| 85 | outputs["stem"] = x |
| 86 | x = self.dark2(x) |
| 87 | outputs["dark2"] = x |
| 88 | x = self.dark3(x) |
| 89 | outputs["dark3"] = x |
| 90 | x = self.dark4(x) |
| 91 | outputs["dark4"] = x |
| 92 | x = self.dark5(x) |
| 93 | outputs["dark5"] = x |
| 94 | return {k: v for k, v in outputs.items() if k in self.out_features} |
| 95 | |
| 96 | |
| 97 | class CSPDarknet(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected