(self, input_)
return torch.cat([out, input_], dim=1)
Apply the Residual layer to the `input_`.
Apply the Residual layer to the `input_`.
Apply the Residual layer to the input_ .
def forward(self, input_):
        """Apply the Residual layer to the `input_`."""
        out = self.fc(input_)
        out = self.bn(out)
        out = self.relu(out)
        return torch.cat([out, input_], dim=1)
def forward ( self , input_ ) : out = self . fc ( input_ ) out = self . bn ( out ) out = self . relu ( out ) return torch . cat ( [ out , input_ ] , dim = 1 )