correct import statements

This commit is contained in:
Eren Golge 2018-11-03 23:19:23 +01:00
parent bb04a1c6e0
commit 440f51b61d
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import torch import torch
from torch import nn from torch import nn
from torch.nn import functional as F from torch.nn import functional as F
from TTS.utils.generic_utils import sequence_mask from utils.generic_utils import sequence_mask
class BahdanauAttention(nn.Module): class BahdanauAttention(nn.Module):

View File

@ -1,7 +1,7 @@
# coding: utf-8 # coding: utf-8
import torch import torch
from torch import nn from torch import nn
from TTS.utils.text.symbols import symbols from utils.text.symbols import symbols
from layers.tacotron import Prenet, Encoder, Decoder, PostCBHG from layers.tacotron import Prenet, Encoder, Decoder, PostCBHG

View File

@ -1,8 +1,8 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
from TTS.utils.text import cleaners from utils.text import cleaners
from TTS.utils.text.symbols import symbols from utils.text.symbols import symbols
# Mappings from symbol to numeric ID and vice versa: # Mappings from symbol to numeric ID and vice versa:
_symbol_to_id = {s: i for i, s in enumerate(symbols)} _symbol_to_id = {s: i for i, s in enumerate(symbols)}