def forward(self, x): out = self.pool(self.conv(F.relu(self.bn(x)))) if self.p > 0: out = F.dropout(out, p=self.p, training=self.training) return out