(self, x)
r"""
        Helper function for feedforwarding through shortcut layers.
r"""
        Helper function for feedforwarding through shortcut layers.
r Helper function for feedforwarding through shortcut layers .
def _shortcut(self, x):
        r"""
        Helper function for feedforwarding through shortcut layers.
        """
        if self.learnable_sc:
            x = self._upsample_conv(
                x, self.c_sc) if self.upsample else self.c_sc(x)
            return x
        else:
            return x
def _shortcut ( self , x ) : if self . learnable_sc : x = self . _upsample_conv ( x , self . c_sc ) if self . upsample else self . c_sc ( x ) return x else : return x