class_docstr: Decoder with Relative Positional Transformer.
  
  Note:
      Default params
          params={
              'hidden_channels_ffn': 128,
              'num_heads': 2,
              "kernel_size": 3,
              "dropout_p": 0.1,
              "num_layers": 8,
              "rel_attn_window_size": 4,
              "input_length": None
          }
  
  Args:
      in_channels (int): number of input channels.
      out_channels (int): number of output channels.
      hidden_channels (int): number of hidden channels including Transformer layers.
      params (dict): dictionary for residual convolutional blocks.
class_docstr_tok: ["Decoder","with","Relative","Positional","Transformer",".","Note",":","Default","params","params=","{","'hidden_channels_ffn","'",":","128",",","'num_heads","'",":","2",",","``","kernel_size","''",":","3",",","``","dropout_p","''",":","0.1",",","``","num_layers","''",":","8",",","``","rel_attn_window_size","''",":","4",",","``","input_length","''",":","None","}","Args",":","in_channels","(","int",")",":","number","of","input","channels",".","out_channels","(","int",")",":","number","of","output","channels",".","hidden_channels","(","int",")",":","number","of","hidden","channels","including","Transformer","layers",".","params","(","dict",")",":","dictionary","for","residual","convolutional","blocks","."]
code: def __init__(
      self, in_channels, out_channels, hidden_channels, params
  ):
      super().__init__()
      self.prenet = Conv1dBN(in_channels, hidden_channels, 1, 1)
      self.rel_pos_transformer = RelativePositionTransformer(
          in_channels, out_channels, hidden_channels, **params
      )
  
imports: import torch
  from torch import nn
  from TTS.tts.layers.generic.res_conv_bn import Conv1dBNBlock, ResidualConv1dBNBlock, Conv1dBN
  from TTS.tts.layers.generic.wavenet import WNBlocks
  from TTS.tts.layers.glow_tts.transformer import RelativePositionTransformer
label_desc: Use image node_id 1 to create a new RelativePositionTransformerDecoder object from inherited base classes: nn with example: obj = RelativePositionTransformerDecoder(in_channels, out_channels, hidden_channels, params)