src/transformers/models/speecht5/modeling_speecht5.py/HifiGanResidualBlock/remove_weight_norm
class HifiGanResidualBlock:    def remove_weight_norm(self):
        for layer in self.convs1:
            nn.utils.remove_weight_norm(layer)
        for layer in self.convs2:
            nn.utils.remove_weight_norm(layer)