class_docstr: Residual connection that can decay the linear combination depending on depth.
code: def forward(self, x, y, transposed):
      beta = self.i_layer ** (-self.power)
      if self.l2:
          alpha = (1.0 - beta**2) ** 0.5
      else:
          alpha = 1.0 - beta
  
      return alpha * x + beta * y
  
imports: import torch
  from torch import nn
label_desc: Use image node_id 2 for calling the DecayResidual obj's underlying member method code with example usage: obj.forward(x, y, transposed) and returns: unknown