espnet2.legacy.nets.pytorch_backend.wavenet.UpSampling
Less than 1 minute
espnet2.legacy.nets.pytorch_backend.wavenet.UpSampling
class espnet2.legacy.nets.pytorch_backend.wavenet.UpSampling(upsampling_factor, bias=True)
Bases: Module
Upsampling layer with deconvolution.
- Parameters:upsampling_factor (int) β Upsampling factor.
Initialize Upsampling class.
forward(x)
Calculate forward propagation.
- Parameters:x (Tensor) β Input tensor with the shape (B, C, T)
- Returns: Tensor with the shape (B, C, Tβ) where Tβ = T * upsampling_factor.
- Return type: Tensor
