code: def __init__(
      self,
      n_loop,
      n_layer,
      filter_size,
      residual_channels,
      dilated_channels,
      skip_channels,
  ):
      super(ResidualNet, self).__init__()
      dilations = [2**i for i in range(n_layer)] * n_loop
      for dilation in dilations:
          self.add_link(
              ResidualBlock(
                  filter_size,
                  dilation,
                  residual_channels,
                  dilated_channels,
                  skip_channels,
              )
          )
  
file_path: chainer/examples/wavenet/modules.py
imports: import chainer
  import chainer.functions
  import chainer.links
label_desc: Use image node_id 1 to create a new ResidualNet object from inherited base classes: chainer with example: obj = ResidualNet(n_loop, n_layer, filter_size, residual_channels, dilated_channels, skip_channels)