class_docstr: Residual connection that can decay the linear combination depending on depth.
code: def __init__(self, *args, power=0.5, l2=True):
      # print("DecayResidual extra kwargs", kwargs)
      super().__init__(*args)
      self.power = power
      self.l2 = l2
  
imports: import torch
  from torch import nn
label_desc: Use image node_id 1 to create a new DecayResidual object from inherited base classes: Residual with example: obj = DecayResidual()