class_docstr: Network module wrapped by residual connection
  
  Args
  ----------
  residual_network: nn.Module
      the main module to be wrapped
  skip_network: nn.Module, optional
      the auxiliary module to guarantee valid addition
class_docstr_tok: ["Network","module","wrapped","by","residual","connection","Args","--","--","--","--","--","residual_network",":","nn.Module","the","main","module","to","be","wrapped","skip_network",":","nn.Module",",","optional","the","auxiliary","module","to","guarantee","valid","addition"]
code: def __init__(
      self,
      residual_network: nn.Module,
      skip_network: Optional[nn.Module] = None,
  ):
      super(ResidualBlock, self).__init__()
      self.residual_network = residual_network
      if skip_network is None:
          self.skip_network = nn.Identity()
      else:
          self.skip_network = skip_network
  
imports: from typing import List, Optional
  from collections import deque
  import math
  import torch
  from torch import Tensor
  from torch import nn
  from torch.distributions import Distribution
  from torch.distributions import Normal
label_desc: Use image node_id 1 to create a new ResidualBlock object from inherited base classes: nn with example: obj = ResidualBlock(residual_network, skip_network)