original_docstring: r"""
          Helper function for feedforwarding through shortcut layers.
          
docstring: r"""
  Helper function for feedforwarding through shortcut layers.
docstring_tokens: r " " " Helper function for feedforwarding through shortcut layers .
code: 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
code_tokens: 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
short_docstring: r"""
  Helper function for feedforwarding through shortcut layers.
short_docstring_tokens: r " " " Helper function for feedforwarding through shortcut layers .
comment: r"""
          Helper function for feedforwarding through shortcut layers.
          """