code: def __init__(self, undecayed_dropout_prob: float = 0.5) -> None:
      super().__init__()
      if undecayed_dropout_prob < 0 or undecayed_dropout_prob > 1:
          raise ValueError(
              f"undecayed dropout probability has to be between 0 and 1, "
              f"but got {undecayed_dropout_prob}"
          )
      self.undecayed_dropout_prob = undecayed_dropout_prob
  
imports: import torch
label_desc: Use image node_id 1 to create a new ResidualWithLayerDropout object from inherited base classes: torch.nn with example: obj = ResidualWithLayerDropout(undecayed_dropout_prob)