espnet2.enh.layers.dcunet.unet_decoder_args
Less than 1 minute
espnet2.enh.layers.dcunet.unet_decoder_args
espnet2.enh.layers.dcunet.unet_decoder_args(encoders, *, skip_connections)
Get list of decoder arguments for upsampling (right) side of a symmetric u-net,
given the arguments used to construct the encoder. :param encoders (tuple of length N of tuples of: (in_chan, out_chan, kernel_size, stride, padding)):
List of arguments used to construct the encoders
- Parameters:skip_connections (bool) – Whether to include skip connections in the calculation of decoder input channels.
- Returns: tuple of length N of tuples of : (in_chan, out_chan, kernel_size, stride, padding): Arguments to be used to construct decoders