class_docstr: Residual block from SEANet model.
  
  Args:
      dim (int): Dimension of the input/output.
      kernel_sizes (list): List of kernel sizes for the convolutions.
      dilations (list): List of dilations for the convolutions.
      activation (str): Activation function.
      activation_params (dict): Parameters to provide to the activation function.
      norm (str): Normalization method.
      norm_params (dict): Parameters to provide to the underlying normalization used along with the convolution.
      causal (bool): Whether to use fully causal convolution.
      pad_mode (str): Padding mode for the convolutions.
      compress (int): Reduced dimensionality in residual branches (from Demucs v3).
      true_skip (bool): Whether to use true skip connection or a simple
          (streamable) convolution as the skip connection.
class_docstr_tok: ["Residual","block","from","SEANet","model",".","Args",":","dim","(","int",")",":","Dimension","of","the","input\/output",".","kernel_sizes","(","list",")",":","List","of","kernel","sizes","for","the","convolutions",".","dilations","(","list",")",":","List","of","dilations","for","the","convolutions",".","activation","(","str",")",":","Activation","function",".","activation_params","(","dict",")",":","Parameters","to","provide","to","the","activation","function",".","norm","(","str",")",":","Normalization","method",".","norm_params","(","dict",")",":","Parameters","to","provide","to","the","underlying","normalization","used","along","with","the","convolution",".","causal","(","bool",")",":","Whether","to","use","fully","causal","convolution",".","pad_mode","(","str",")",":","Padding","mode","for","the","convolutions",".","compress","(","int",")",":","Reduced","dimensionality","in","residual","branches","(","from","Demucs","v3",")",".","true_skip","(","bool",")",":","Whether","to","use","true","skip","connection","or","a","simple","(","streamable",")","convolution","as","the","skip","connection","."]
code: def forward(self, x):
      return self.shortcut(x) + self.block(x)
  
file_path: audiocraft/audiocraft/modules/seanet.py
imports: import typing
  import numpy
  import torch.nn
  from .conv import StreamableConv1d, StreamableConvTranspose1d
  from .lstm import StreamableLSTM
label_desc: Use image node_id 2 for calling the SEANetResnetBlock obj's underlying member method code with example usage: obj.forward(x) and returns: unknown