(self, x)
| 130 | self.stride = stride |
| 131 | |
| 132 | def forward(self, x): |
| 133 | identity = x |
| 134 | out = self.conv1(x) |
| 135 | out = self.norm1(out) |
| 136 | out = self.relu(out) |
| 137 | out = self.conv2(out) |
| 138 | out = self.norm2(out) |
| 139 | if self.stride != 1: |
| 140 | identity = self.downsample(x) |
| 141 | out += identity |
| 142 | out = self.relu(out) |
| 143 | return out |
nothing calls this directly
no outgoing calls
no test coverage detected