diff --git a/matcha/hifigan/models.py b/matcha/hifigan/models.py index 94b0ce9..57305ef 100644 --- a/matcha/hifigan/models.py +++ b/matcha/hifigan/models.py @@ -1,8 +1,8 @@ """ from https://github.com/jik876/hifi-gan """ import torch -import torch.nn.functional as F import torch.nn as nn # pylint: disable=consider-using-from-import +import torch.nn.functional as F from torch.nn import AvgPool1d, Conv1d, Conv2d, ConvTranspose1d from torch.nn.utils import remove_weight_norm, spectral_norm, weight_norm