SYMBOL INDEX (510 symbols across 40 files) FILE: TensorFlowTTS/tensorflow_tts/audio_process/audio.py function preprocess_wav (line 29) | def preprocess_wav(fpath_or_wav: Union[str, Path, np.ndarray], function normalize_volume (line 70) | def normalize_volume(wav, ratio=0.6): function sil_pad (line 73) | def sil_pad(wav, pad_length=100): function trim_long_silences (line 77) | def trim_long_silences(wav, vad_window_length, vad_moving_average_width,... function melbasis_make (line 119) | def melbasis_make(sr=16000, n_fft=1024, n_mels=80, fmin=80, fmax=7600): function mel_make (line 122) | def mel_make(filepath: str, sr=16000, n_fft=1024, framesize=256, mel_bas... FILE: TensorFlowTTS/tensorflow_tts/audio_process/audio_spec.py function preemphasis (line 7) | def preemphasis(wav, k, preemphasize=True): function inv_preemphasis (line 12) | def inv_preemphasis(wav, k, inv_preemphasize=True): class AudioMelSpec (line 17) | class AudioMelSpec(): method __init__ (line 21) | def __init__( method _mel_basis_create (line 54) | def _mel_basis_create(self): method _stft (line 58) | def _stft(self, y): method _istft (line 61) | def _istft(self, y): method _linear_to_mel (line 64) | def _linear_to_mel(self, spectogram): method _mel_to_linear (line 67) | def _mel_to_linear(self, mel_spectrogram): method _amp_to_db (line 70) | def _amp_to_db(self, x): method _db_to_amp (line 74) | def _db_to_amp(self, x): method _normalize (line 77) | def _normalize(self, S): method _denormalize (line 91) | def _denormalize(self, D): method _griffin_lim (line 105) | def _griffin_lim(self, S): method load_wav (line 117) | def load_wav(self, wav_fpath): method save_wav (line 123) | def save_wav(self, wav, fpath): method melspectrogram (line 128) | def melspectrogram(self, wav): method inv_mel_spectrogram (line 136) | def inv_mel_spectrogram(self, mel_spectrogram): method compare_plot (line 147) | def compare_plot(self, targets, preds, filepath=None, frame_real_len=N... method melspec_plot (line 175) | def melspec_plot(self, mels): class AudioSpec (line 181) | class AudioSpec(): method __init__ (line 185) | def __init__(self, sr, nfft, mel_dim=80, f0_min=71, f0_max=7800, method _mel_basis_create (line 214) | def _mel_basis_create(self): method _normalize (line 218) | def _normalize(self, log_sepc, is_symmetric, is_clipping_in_normalizat... method _denormalize (line 232) | def _denormalize(self, log_sepc, is_symmetric, is_clipping_in_normaliz... method ampspec2logspec (line 246) | def ampspec2logspec(self, amp_spec): method logspec2ampspec (line 255) | def logspec2ampspec(self, log_spec): class VariableNormProcess (line 264) | class VariableNormProcess(): method __init__ (line 268) | def __init__(self, var_min, var_max, max_abs_value=4.0, is_symmetric=T... method normalize (line 277) | def normalize(self, var): method denormalize (line 284) | def denormalize(self, nvar): FILE: TensorFlowTTS/tensorflow_tts/bin/preprocess_unetts.py function parse_and_config (line 46) | def parse_and_config(): function preprocess_duration (line 166) | def preprocess_duration(): function gen_duration_features (line 273) | def gen_duration_features(item, config): function save_duration_to_file (line 303) | def save_duration_to_file(features, subdir, config): function preprocess_acous (line 329) | def preprocess_acous(): function gen_acous_features (line 437) | def gen_acous_features(item, config): function save_acous_to_file (line 458) | def save_acous_to_file(features, subdir, config): function preprocess_vocoder (line 484) | def preprocess_vocoder(): function gen_vocoder (line 590) | def gen_vocoder(item, config): function save_vocoder_to_file (line 608) | def save_vocoder_to_file(features, subdir, config): FILE: TensorFlowTTS/tensorflow_tts/configs/mb_melgan.py class MultiBandMelGANGeneratorConfig (line 20) | class MultiBandMelGANGeneratorConfig(MelGANGeneratorConfig): method __init__ (line 23) | def __init__(self, **kwargs): class MultiBandMelGANDiscriminatorConfig (line 31) | class MultiBandMelGANDiscriminatorConfig(MelGANDiscriminatorConfig): method __init__ (line 34) | def __init__(self, **kwargs): FILE: TensorFlowTTS/tensorflow_tts/configs/melgan.py class MelGANGeneratorConfig (line 18) | class MelGANGeneratorConfig(object): method __init__ (line 21) | def __init__( class MelGANDiscriminatorConfig (line 54) | class MelGANDiscriminatorConfig(object): method __init__ (line 57) | def __init__( FILE: TensorFlowTTS/tensorflow_tts/configs/unetts.py class UNETTSDurationConfig (line 61) | class UNETTSDurationConfig(object): method __init__ (line 64) | def __init__( class UNETTSAcousConfig (line 118) | class UNETTSAcousConfig(object): method __init__ (line 121) | def __init__( FILE: TensorFlowTTS/tensorflow_tts/datasets/abstract_dataset.py class AbstractDataset (line 22) | class AbstractDataset(metaclass=abc.ABCMeta): method get_args (line 26) | def get_args(self): method generator (line 31) | def generator(self): method get_output_dtypes (line 36) | def get_output_dtypes(self): method get_len_dataset (line 41) | def get_len_dataset(self): method create (line 45) | def create( FILE: TensorFlowTTS/tensorflow_tts/datasets/audio_dataset.py class AudioDataset (line 27) | class AudioDataset(AbstractDataset): method __init__ (line 30) | def __init__( method get_args (line 65) | def get_args(self): method generator (line 68) | def generator(self, utt_ids): method get_output_dtypes (line 78) | def get_output_dtypes(self): method create (line 86) | def create( method get_len_dataset (line 124) | def get_len_dataset(self): method __name__ (line 127) | def __name__(self): FILE: TensorFlowTTS/tensorflow_tts/datasets/mel_dataset.py class MelDataset (line 27) | class MelDataset(AbstractDataset): method __init__ (line 30) | def __init__( method get_args (line 64) | def get_args(self): method generator (line 67) | def generator(self, utt_ids): method get_output_dtypes (line 77) | def get_output_dtypes(self): method create (line 85) | def create( method get_len_dataset (line 123) | def get_len_dataset(self): method __name__ (line 126) | def __name__(self): FILE: TensorFlowTTS/tensorflow_tts/inference/auto_config.py class AutoConfig (line 38) | class AutoConfig: method __init__ (line 39) | def __init__(self): method from_pretrained (line 46) | def from_pretrained(cls, pretrained_path, **kwargs): FILE: TensorFlowTTS/tensorflow_tts/inference/auto_model.py class TFAutoModel (line 46) | class TFAutoModel(object): method __init__ (line 49) | def __init__(self): method from_pretrained (line 53) | def from_pretrained(cls, config, pretrained_path=None, **kwargs): FILE: TensorFlowTTS/tensorflow_tts/inference/auto_processor.py class AutoProcessor (line 32) | class AutoProcessor: method __init__ (line 33) | def __init__(self): method from_pretrained (line 40) | def from_pretrained(cls, pretrained_path, **kwargs): FILE: TensorFlowTTS/tensorflow_tts/losses/spectrogram.py class TFMelSpectrogram (line 20) | class TFMelSpectrogram(tf.keras.layers.Layer): method __init__ (line 23) | def __init__( method _calculate_log_mels_spectrogram (line 44) | def _calculate_log_mels_spectrogram(self, signals): method call (line 69) | def call(self, y, x): FILE: TensorFlowTTS/tensorflow_tts/losses/stft.py class TFSpectralConvergence (line 20) | class TFSpectralConvergence(tf.keras.layers.Layer): method __init__ (line 23) | def __init__(self): method call (line 27) | def call(self, y_mag, x_mag): class TFLogSTFTMagnitude (line 40) | class TFLogSTFTMagnitude(tf.keras.layers.Layer): method __init__ (line 43) | def __init__(self): method call (line 47) | def call(self, y_mag, x_mag): class TFSTFT (line 58) | class TFSTFT(tf.keras.layers.Layer): method __init__ (line 61) | def __init__(self, frame_length=600, frame_step=120, fft_length=1024): method call (line 70) | def call(self, y, x): class TFMultiResolutionSTFT (line 107) | class TFMultiResolutionSTFT(tf.keras.layers.Layer): method __init__ (line 110) | def __init__( method call (line 130) | def call(self, y, x): FILE: TensorFlowTTS/tensorflow_tts/models/mb_melgan.py function design_prototype_filter (line 27) | def design_prototype_filter(taps=62, cutoff_ratio=0.15, beta=9.0): class TFPQMF (line 60) | class TFPQMF(tf.keras.layers.Layer): method __init__ (line 63) | def __init__(self, config, **kwargs): method analysis (line 122) | def analysis(self, x): method synthesis (line 138) | def synthesis(self, x): class TFMBMelGANGenerator (line 159) | class TFMBMelGANGenerator(TFMelGANGenerator): method __init__ (line 162) | def __init__(self, config, **kwargs): method call (line 166) | def call(self, mels, **kwargs): method inference (line 180) | def inference(self, mels): method inference_tflite (line 189) | def inference_tflite(self, mels): FILE: TensorFlowTTS/tensorflow_tts/models/melgan.py function get_initializer (line 23) | def get_initializer(initializer_seed=42): class TFReflectionPad1d (line 33) | class TFReflectionPad1d(tf.keras.layers.Layer): method __init__ (line 36) | def __init__(self, padding_size, padding_type="REFLECT", **kwargs): method call (line 47) | def call(self, x): class TFConvTranspose1d (line 61) | class TFConvTranspose1d(tf.keras.layers.Layer): method __init__ (line 64) | def __init__( method call (line 92) | def call(self, x): class TFResidualStack (line 105) | class TFResidualStack(tf.keras.layers.Layer): method __init__ (line 108) | def __init__( method call (line 165) | def call(self, x): method _apply_weightnorm (line 178) | def _apply_weightnorm(self, list_layers): class TFMelGANGenerator (line 189) | class TFMelGANGenerator(tf.keras.Model): method __init__ (line 192) | def __init__(self, config, **kwargs): method call (line 276) | def call(self, mels, **kwargs): method inference (line 290) | def inference(self, mels): method inference_tflite (line 298) | def inference_tflite(self, mels): method _apply_weightnorm (line 301) | def _apply_weightnorm(self, list_layers): method _build (line 311) | def _build(self): class TFMelGANDiscriminator (line 317) | class TFMelGANDiscriminator(tf.keras.layers.Layer): method __init__ (line 320) | def __init__( method call (line 428) | def call(self, x, **kwargs): method _apply_weightnorm (line 441) | def _apply_weightnorm(self, list_layers): class TFMelGANMultiScaleDiscriminator (line 452) | class TFMelGANMultiScaleDiscriminator(tf.keras.Model): method __init__ (line 455) | def __init__(self, config, **kwargs): method call (line 485) | def call(self, x, **kwargs): FILE: TensorFlowTTS/tensorflow_tts/models/moduls/adain_en_de_code.py function get_initializer (line 5) | def get_initializer(initializer_range=0.02): class ConvModul (line 17) | class ConvModul(tf.keras.layers.Layer): method __init__ (line 18) | def __init__(self, hidden_size, kernel_size, initializer_range, layer_... method call (line 39) | def call(self, x): class EncConvBlock (line 46) | class EncConvBlock(tf.keras.layers.Layer): method __init__ (line 47) | def __init__(self, config, **kwargs): method call (line 56) | def call(self, x): class DecConvBlock (line 59) | class DecConvBlock(tf.keras.layers.Layer): method __init__ (line 60) | def __init__(self, config, **kwargs): method call (line 75) | def call(self, x): class AadINEncoder (line 80) | class AadINEncoder(tf.keras.Model): method __init__ (line 81) | def __init__(self, config, **kwargs): method call (line 109) | def call(self, x, mask): class AdaINDecoder (line 131) | class AdaINDecoder(tf.keras.Model): method __init__ (line 132) | def __init__(self, config, **kwargs): method call (line 160) | def call(self, enc, cond, mask): FILE: TensorFlowTTS/tensorflow_tts/models/moduls/conditional.py function get_initializer (line 5) | def get_initializer(initializer_range=0.02): class MaskInstanceNormalization (line 17) | class MaskInstanceNormalization(tf.keras.layers.Layer): method __init__ (line 18) | def __init__(self, layer_norm_eps, **kwargs): method _cal_mean_std (line 22) | def _cal_mean_std(self, inputs, mask): method call (line 36) | def call(self, inputs, mask, return_mean_std=False): class ConditionalNormalization (line 51) | class ConditionalNormalization(tf.keras.layers.Layer): method __init__ (line 52) | def __init__(self, config, **kwargs): method call (line 90) | def call(self, inputs, conds, mask): FILE: TensorFlowTTS/tensorflow_tts/models/moduls/core.py function get_initializer (line 22) | def get_initializer(initializer_range=0.02): function gelu (line 35) | def gelu(x): function gelu_new (line 41) | def gelu_new(x): function swish (line 47) | def swish(x): function mish (line 52) | def mish(x): class TFEmbedding (line 67) | class TFEmbedding(tf.keras.layers.Embedding): method __init__ (line 69) | def __init__(self, *args, **kwargs): method call (line 72) | def call(self, inputs): class TFFastSpeechEmbeddings (line 78) | class TFFastSpeechEmbeddings(tf.keras.layers.Layer): method __init__ (line 81) | def __init__(self, config, **kwargs): method build (line 89) | def build(self, input_shape): method call (line 99) | def call(self, input_ids): class TFFastSpeechSelfAttention (line 103) | class TFFastSpeechSelfAttention(tf.keras.layers.Layer): method __init__ (line 106) | def __init__(self, config, **kwargs): method transpose_for_scores (line 143) | def transpose_for_scores(self, x, batch_size): method call (line 162) | def call(self, inputs, training=False): class TFFastSpeechSelfOutput (line 210) | class TFFastSpeechSelfOutput(tf.keras.layers.Layer): method __init__ (line 213) | def __init__(self, config, **kwargs): method call (line 226) | def call(self, inputs, training=False): class TFFastSpeechAttention (line 236) | class TFFastSpeechAttention(tf.keras.layers.Layer): method __init__ (line 239) | def __init__(self, config, **kwargs): method call (line 245) | def call(self, inputs, training=False): class TFFastSpeechIntermediate (line 263) | class TFFastSpeechIntermediate(tf.keras.layers.Layer): method __init__ (line 266) | def __init__(self, config, **kwargs): method call (line 288) | def call(self, inputs): class TFFastSpeechOutput (line 302) | class TFFastSpeechOutput(tf.keras.layers.Layer): method __init__ (line 305) | def __init__(self, config, **kwargs): method call (line 313) | def call(self, inputs, training=False): class TFFastSpeechLayer (line 322) | class TFFastSpeechLayer(tf.keras.layers.Layer): method __init__ (line 325) | def __init__(self, config, **kwargs): method call (line 332) | def call(self, inputs, training=False): class TFFastSpeechEncoder (line 355) | class TFFastSpeechEncoder(tf.keras.layers.Layer): method __init__ (line 358) | def __init__(self, config, **kwargs): method call (line 368) | def call(self, inputs, training=False): class TFFastSpeechDecoder (line 398) | class TFFastSpeechDecoder(TFFastSpeechEncoder): method __init__ (line 401) | def __init__(self, config, **kwargs): method call (line 412) | def call(self, inputs, training=False): class TFTacotronPostnet (line 421) | class TFTacotronPostnet(tf.keras.layers.Layer): method __init__ (line 424) | def __init__(self, config, **kwargs): method call (line 446) | def call(self, inputs, training=False): class TFFastSpeechVariantPredictor (line 458) | class TFFastSpeechVariantPredictor(tf.keras.layers.Layer): method __init__ (line 461) | def __init__(self, config, sub_name="f0", is_sigmod=False, **kwargs): method call (line 493) | def call(self, inputs, training=False): class TFFastSpeechDurationPredictor (line 512) | class TFFastSpeechDurationPredictor(tf.keras.layers.Layer): method __init__ (line 515) | def __init__(self, config, **kwargs): method call (line 545) | def call(self, inputs, training=False): class TFFastSpeechLengthRegulator (line 560) | class TFFastSpeechLengthRegulator(tf.keras.layers.Layer): method __init__ (line 563) | def __init__(self, config, **kwargs): method _compute_coarse_coding_features (line 577) | def _compute_coarse_coding_features(self): method call (line 597) | def call(self, inputs, training=False): method _length_regulator (line 609) | def _length_regulator(self, encoder_hidden_states, durations_gt): FILE: TensorFlowTTS/tensorflow_tts/models/moduls/core2.py class TFFastSpeechConditionalSelfOutput (line 21) | class TFFastSpeechConditionalSelfOutput(tf.keras.layers.Layer): method __init__ (line 24) | def __init__(self, config, **kwargs): method call (line 37) | def call(self, inputs, training=False): class TFFastSpeechConditionalAttention (line 52) | class TFFastSpeechConditionalAttention(tf.keras.layers.Layer): method __init__ (line 55) | def __init__(self, config, **kwargs): method call (line 61) | def call(self, inputs, training=False): class TFFastSpeechConditionalOutput (line 83) | class TFFastSpeechConditionalOutput(tf.keras.layers.Layer): method __init__ (line 86) | def __init__(self, config, **kwargs): method call (line 92) | def call(self, inputs, training=False): class TFFastSpeechConditionalLayer (line 106) | class TFFastSpeechConditionalLayer(tf.keras.layers.Layer): method __init__ (line 109) | def __init__(self, config, **kwargs): method call (line 116) | def call(self, inputs, training=False): class TFFastSpeechConditionalEncoder (line 142) | class TFFastSpeechConditionalEncoder(tf.keras.layers.Layer): method __init__ (line 145) | def __init__(self, config, **kwargs): method call (line 155) | def call(self, inputs, training=False): class TFFastSpeechConditionalDecoder (line 189) | class TFFastSpeechConditionalDecoder(TFFastSpeechConditionalEncoder): method __init__ (line 192) | def __init__(self, config, **kwargs): method call (line 203) | def call(self, inputs, training=False): FILE: TensorFlowTTS/tensorflow_tts/models/unetts.py class TFUNETTSDuration (line 24) | class TFUNETTSDuration(tf.keras.Model): method __init__ (line 25) | def __init__(self, config, **kwargs): method _build (line 52) | def _build(self): method call (line 59) | def call( method _inference (line 90) | def _inference(self, char_ids, duration_stat, **kwargs): method setup_inference_fn (line 119) | def setup_inference_fn(self): class ContentEncoder (line 144) | class ContentEncoder(tf.keras.Model): method __init__ (line 145) | def __init__(self, config, **kwargs): method call (line 162) | def call(self, char_ids, duration_gts, training=False): class TFUNETTSAcous (line 176) | class TFUNETTSAcous(tf.keras.Model): method __init__ (line 179) | def __init__(self, config, **kwargs): method _build (line 198) | def _build(self): method text_encoder_weight_load (line 206) | def text_encoder_weight_load(self, content_encoder_path): method freezen_encoder (line 209) | def freezen_encoder(self): method call (line 212) | def call( method _inference (line 227) | def _inference(self, char_ids, duration_gts, mel_src, **kwargs): method extract_dur_pos_embed (line 238) | def extract_dur_pos_embed(self, mel_src): method setup_inference_fn (line 243) | def setup_inference_fn(self): class TFUNETTSContentPretrain (line 264) | class TFUNETTSContentPretrain(tf.keras.Model): method __init__ (line 267) | def __init__(self, config, **kwargs): method _build (line 297) | def _build(self): method content_encoder_weight_save (line 305) | def content_encoder_weight_save(self, path): method call (line 308) | def call( method _inference (line 340) | def _inference(self, char_ids, duration_gts, embed, **kwargs): method setup_inference_fn (line 370) | def setup_inference_fn(self): FILE: TensorFlowTTS/tensorflow_tts/optimizers/adamweightdecay.py class WarmUp (line 23) | class WarmUp(tf.keras.optimizers.schedules.LearningRateSchedule): method __init__ (line 26) | def __init__( method __call__ (line 41) | def __call__(self, step): method get_config (line 58) | def get_config(self): class AdamWeightDecay (line 68) | class AdamWeightDecay(tf.keras.optimizers.Adam): method __init__ (line 79) | def __init__( method from_config (line 100) | def from_config(cls, config): method _prepare_local (line 107) | def _prepare_local(self, var_device, var_dtype, apply_state): method _decay_weights_op (line 113) | def _decay_weights_op(self, var, learning_rate, apply_state): method apply_gradients (line 122) | def apply_gradients(self, grads_and_vars, clip_norm=0.5, **kwargs): method _get_lr (line 127) | def _get_lr(self, var_device, var_dtype, apply_state): method _resource_apply_dense (line 140) | def _resource_apply_dense(self, grad, var, apply_state=None): method _resource_apply_sparse (line 148) | def _resource_apply_sparse(self, grad, var, indices, apply_state=None): method get_config (line 156) | def get_config(self): method _do_use_weight_decay (line 163) | def _do_use_weight_decay(self, param_name): FILE: TensorFlowTTS/tensorflow_tts/processor/base_processor.py class DataProcessorError (line 25) | class DataProcessorError(Exception): class BaseProcessor (line 30) | class BaseProcessor(abc.ABC): method __post_init__ (line 49) | def __post_init__(self): method __getattr__ (line 79) | def __getattr__(self, name: str) -> Union[str, int]: method create_speaker_map (line 84) | def create_speaker_map(self): method get_speaker_id (line 95) | def get_speaker_id(self, name: str) -> int: method get_speaker_name (line 98) | def get_speaker_name(self, speaker_id: int) -> str: method create_symbols (line 101) | def create_symbols(self): method create_items (line 105) | def create_items(self): method add_symbol (line 126) | def add_symbol(self, symbol: Union[str, list]): method get_one_sample (line 142) | def get_one_sample(self, item): method text_to_sequence (line 162) | def text_to_sequence(self, text: str): method setup_eos_token (line 166) | def setup_eos_token(self): method convert_symbols_to_ids (line 170) | def convert_symbols_to_ids(self, symbols: Union[str, list]): method _load_mapper (line 186) | def _load_mapper(self, loaded_path: str = None): method _save_mapper (line 208) | def _save_mapper(self, saved_path: str = None, extra_attrs_to_save: di... FILE: TensorFlowTTS/tensorflow_tts/processor/multispk_voiceclone.py function is_zh (line 535) | def is_zh(word): function is_en (line 540) | def is_en(word): class MyConverter (line 545) | class MyConverter(NeutralToneWith5Mixin, DefaultConverter): class MultiSPKVoiceCloneProcessor (line 550) | class MultiSPKVoiceCloneProcessor(BaseProcessor): method __post_init__ (line 566) | def __post_init__(self): method setup_eos_token (line 577) | def setup_eos_token(self): method create_speaker_info (line 580) | def create_speaker_info(self): method create_unseen_speaker (line 594) | def create_unseen_speaker(self): method create_items (line 609) | def create_items(self): method get_phoneme_from_char_and_pinyin (line 652) | def get_phoneme_from_char_and_pinyin(self, txt, pinyin): method get_one_sample (line 749) | def get_one_sample(self, item): method get_pinyin_parser (line 764) | def get_pinyin_parser(self): method text_to_sequence (line 769) | def text_to_sequence(self, text, inference=False): method create_speaker_map (line 805) | def create_speaker_map(self): FILE: TensorFlowTTS/tensorflow_tts/trainers/base_trainer.py class BasedTrainer (line 32) | class BasedTrainer(metaclass=abc.ABCMeta): method __init__ (line 35) | def __init__(self, steps, epochs, config): method init_train_eval_metrics (line 47) | def init_train_eval_metrics(self, list_metrics_name): method reset_states_train (line 59) | def reset_states_train(self): method reset_states_eval (line 64) | def reset_states_eval(self): method update_train_metrics (line 69) | def update_train_metrics(self, dict_metrics_losses): method update_eval_metrics (line 73) | def update_eval_metrics(self, dict_metrics_losses): method set_train_data_loader (line 77) | def set_train_data_loader(self, train_dataset): method get_train_data_loader (line 81) | def get_train_data_loader(self): method set_eval_data_loader (line 85) | def set_eval_data_loader(self, eval_dataset): method get_eval_data_loader (line 89) | def get_eval_data_loader(self): method compile (line 94) | def compile(self): method create_checkpoint_manager (line 98) | def create_checkpoint_manager(self, saved_path=None, max_to_keep=10): method run (line 102) | def run(self): method save_checkpoint (line 117) | def save_checkpoint(self): method load_checkpoint (line 122) | def load_checkpoint(self, pretrained_path): method _train_epoch (line 126) | def _train_epoch(self): method _eval_epoch (line 150) | def _eval_epoch(self): method _train_step (line 155) | def _train_step(self, batch): method _check_log_interval (line 160) | def _check_log_interval(self): method fit (line 165) | def fit(self): method _check_eval_interval (line 168) | def _check_eval_interval(self): method _check_save_interval (line 173) | def _check_save_interval(self): method generate_and_save_intermediate_result (line 179) | def generate_and_save_intermediate_result(self, batch): method _write_to_tensorboard (line 183) | def _write_to_tensorboard(self, list_metrics, stage="train"): class GanBasedTrainer (line 191) | class GanBasedTrainer(BasedTrainer): method __init__ (line 194) | def __init__( method init_train_eval_metrics (line 217) | def init_train_eval_metrics(self, list_metrics_name): method get_n_gpus (line 221) | def get_n_gpus(self): method _get_train_element_signature (line 224) | def _get_train_element_signature(self): method _get_eval_element_signature (line 227) | def _get_eval_element_signature(self): method set_gen_model (line 230) | def set_gen_model(self, generator_model): method get_gen_model (line 234) | def get_gen_model(self): method set_dis_model (line 238) | def set_dis_model(self, discriminator_model): method get_dis_model (line 242) | def get_dis_model(self): method set_gen_optimizer (line 246) | def set_gen_optimizer(self, generator_optimizer): method get_gen_optimizer (line 254) | def get_gen_optimizer(self): method set_dis_optimizer (line 258) | def set_dis_optimizer(self, discriminator_optimizer): method get_dis_optimizer (line 266) | def get_dis_optimizer(self): method compile (line 270) | def compile(self, gen_model, dis_model, gen_optimizer, dis_optimizer): method _train_step (line 276) | def _train_step(self, batch): method _one_step_forward (line 299) | def _one_step_forward(self, batch): method compute_per_example_generator_losses (line 308) | def compute_per_example_generator_losses(self, batch, outputs): method compute_per_example_discriminator_losses (line 326) | def compute_per_example_discriminator_losses(self, batch, gen_outputs): method _one_step_forward_per_replica (line 343) | def _one_step_forward_per_replica(self, batch): method _eval_epoch (line 423) | def _eval_epoch(self): method _one_step_evaluate_per_replica (line 455) | def _one_step_evaluate_per_replica(self, batch): method _one_step_evaluate (line 478) | def _one_step_evaluate(self, batch): method _one_step_predict_per_replica (line 481) | def _one_step_predict_per_replica(self, batch): method _one_step_predict (line 485) | def _one_step_predict(self, batch): method generate_and_save_intermediate_result (line 490) | def generate_and_save_intermediate_result(self, batch): method create_checkpoint_manager (line 493) | def create_checkpoint_manager(self, saved_path=None, max_to_keep=10): method save_checkpoint (line 511) | def save_checkpoint(self): method load_checkpoint (line 523) | def load_checkpoint(self, pretrained_path): method _check_train_finish (line 554) | def _check_train_finish(self): method _check_log_interval (line 568) | def _check_log_interval(self): method fit (line 580) | def fit(self, train_data_loader, valid_data_loader, saved_path, resume... class Seq2SeqBasedTrainer (line 597) | class Seq2SeqBasedTrainer(BasedTrainer, metaclass=abc.ABCMeta): method __init__ (line 600) | def __init__( method init_train_eval_metrics (line 620) | def init_train_eval_metrics(self, list_metrics_name): method set_model (line 624) | def set_model(self, model): method get_model (line 628) | def get_model(self): method set_optimizer (line 632) | def set_optimizer(self, optimizer): method get_optimizer (line 640) | def get_optimizer(self): method get_n_gpus (line 644) | def get_n_gpus(self): method compile (line 647) | def compile(self, model, optimizer): method _get_train_element_signature (line 651) | def _get_train_element_signature(self): method _get_eval_element_signature (line 654) | def _get_eval_element_signature(self): method _train_step (line 657) | def _train_step(self, batch): method _one_step_forward (line 680) | def _one_step_forward(self, batch): method _one_step_forward_per_replica (line 688) | def _one_step_forward_per_replica(self, batch): method compute_per_example_losses (line 724) | def compute_per_example_losses(self, batch, outputs): method _eval_epoch (line 741) | def _eval_epoch(self): method _one_step_evaluate_per_replica (line 773) | def _one_step_evaluate_per_replica(self, batch): method _one_step_evaluate (line 779) | def _one_step_evaluate(self, batch): method _one_step_predict_per_replica (line 782) | def _one_step_predict_per_replica(self, batch): method _one_step_predict (line 786) | def _one_step_predict(self, batch): method generate_and_save_intermediate_result (line 791) | def generate_and_save_intermediate_result(self, batch): method create_checkpoint_manager (line 794) | def create_checkpoint_manager(self, saved_path=None, max_to_keep=10): method save_checkpoint (line 809) | def save_checkpoint(self): method load_checkpoint (line 816) | def load_checkpoint(self, pretrained_path): method _check_train_finish (line 828) | def _check_train_finish(self): method _check_log_interval (line 833) | def _check_log_interval(self): method fit (line 845) | def fit(self, train_data_loader, valid_data_loader, saved_path, resume... class StreamBasedTrainer (line 862) | class StreamBasedTrainer(Seq2SeqBasedTrainer): method __init__ (line 863) | def __init__( method _one_step_evaluate_per_replica (line 868) | def _one_step_evaluate_per_replica(self, batch): FILE: TensorFlowTTS/tensorflow_tts/utils/cleaners.py function expand_abbreviations (line 57) | def expand_abbreviations(text): function expand_numbers (line 63) | def expand_numbers(text): function lowercase (line 67) | def lowercase(text): function collapse_whitespace (line 71) | def collapse_whitespace(text): function convert_to_ascii (line 75) | def convert_to_ascii(text): function basic_cleaners (line 79) | def basic_cleaners(text): function transliteration_cleaners (line 86) | def transliteration_cleaners(text): function english_cleaners (line 94) | def english_cleaners(text): function korean_cleaners (line 104) | def korean_cleaners(text): FILE: TensorFlowTTS/tensorflow_tts/utils/decoder.py function dynamic_decode (line 28) | def dynamic_decode( FILE: TensorFlowTTS/tensorflow_tts/utils/griffin_lim.py function griffin_lim_lb (line 26) | def griffin_lim_lb( class TFGriffinLim (line 64) | class TFGriffinLim(tf.keras.layers.Layer): method __init__ (line 67) | def __init__(self, stats_path, dataset_config, normalized: bool = True): method save_wav (line 88) | def save_wav(self, gl_tf, output_dir, wav_name): method call (line 117) | def call(self, mel_spec, n_iter=32): FILE: TensorFlowTTS/tensorflow_tts/utils/group_conv.py class Convolution (line 14) | class Convolution(object): method __init__ (line 29) | def __init__( method _build_op (line 97) | def _build_op(self, _, padding): method __call__ (line 107) | def __call__(self, inp, filter): class Conv (line 111) | class Conv(Layer): method __init__ (line 172) | def __init__( method build (line 238) | def build(self, input_shape): method call (line 293) | def call(self, inputs): method compute_output_shape (line 326) | def compute_output_shape(self, input_shape): method get_config (line 357) | def get_config(self): method _compute_causal_padding (line 379) | def _compute_causal_padding(self): method _get_channel_axis (line 388) | def _get_channel_axis(self): method _get_input_channel (line 394) | def _get_input_channel(self, input_shape): method _get_padding_op (line 403) | def _get_padding_op(self): method _recreate_conv_op (line 412) | def _recreate_conv_op(self, inputs): class GroupConv1D (line 433) | class GroupConv1D(Conv): method __init__ (line 517) | def __init__( FILE: TensorFlowTTS/tensorflow_tts/utils/korean.py function is_lead (line 284) | def is_lead(char): function is_vowel (line 288) | def is_vowel(char): function is_tail (line 292) | def is_tail(char): function get_mode (line 296) | def get_mode(char): function _get_text_from_candidates (line 307) | def _get_text_from_candidates(candidates): function jamo_to_korean (line 316) | def jamo_to_korean(text): function compare_sentence_with_jamo (line 345) | def compare_sentence_with_jamo(text1, text2): function tokenize (line 349) | def tokenize(text, as_id=False): function tokenizer_fn (line 362) | def tokenizer_fn(iterator): function normalize (line 366) | def normalize(text): function normalize_with_dictionary (line 382) | def normalize_with_dictionary(text, dic): function normalize_english (line 390) | def normalize_english(text): function normalize_upper (line 402) | def normalize_upper(text): function normalize_quote (line 411) | def normalize_quote(text): function normalize_number (line 428) | def normalize_number(text): function number_to_korean (line 458) | def number_to_korean(num_str, is_count=False): FILE: TensorFlowTTS/tensorflow_tts/utils/number_norm.py function _remove_commas (line 37) | def _remove_commas(m): function _expand_decimal_point (line 41) | def _expand_decimal_point(m): function _expand_dollars (line 45) | def _expand_dollars(m): function _expand_ordinal (line 66) | def _expand_ordinal(m): function _expand_number (line 70) | def _expand_number(m): function normalize_numbers (line 87) | def normalize_numbers(text): FILE: TensorFlowTTS/tensorflow_tts/utils/outliers.py function is_outlier (line 19) | def is_outlier(x, p25, p75): function remove_outlier (line 26) | def remove_outlier(x, p_bottom: int = 25, p_top: int = 75): FILE: TensorFlowTTS/tensorflow_tts/utils/strategy.py function return_strategy (line 19) | def return_strategy(): function calculate_3d_loss (line 29) | def calculate_3d_loss(y_gt, y_pred, loss_fn): function calculate_2d_loss (line 54) | def calculate_2d_loss(y_gt, y_pred, loss_fn): function calculate_loss_norm_lens (line 79) | def calculate_loss_norm_lens(y_gt, y_pred, loss_fn, norm_lens): FILE: TensorFlowTTS/tensorflow_tts/utils/utils.py function find_files (line 11) | def find_files(root_dir, query="*.wav", include_root_dir=True): FILE: TensorFlowTTS/tensorflow_tts/utils/weight_norm.py class WeightNormalization (line 22) | class WeightNormalization(tf.keras.layers.Wrapper): method __init__ (line 48) | def __init__(self, layer, data_init=True, **kwargs): method _compute_weights (line 86) | def _compute_weights(self): method _init_norm (line 96) | def _init_norm(self): method _data_dep_init (line 103) | def _data_dep_init(self, inputs): method build (line 131) | def build(self, input_shape=None): method call (line 168) | def call(self, inputs): method compute_output_shape (line 183) | def compute_output_shape(self, input_shape): FILE: UnetTTS_syn.py class UnetTTS (line 13) | class UnetTTS(): method __init__ (line 14) | def __init__(self, models_and_params, text2id_mapper, feats_yaml): method one_shot_TTS (line 26) | def one_shot_TTS(self, text, src_audio, duration_stats=None, is_wrap_t... method __init_models (line 66) | def __init_models(self): method _stats_duration (line 87) | def _stats_duration(self, dur_pos_embed): method mel_feats_extractor (line 113) | def mel_feats_extractor(self, audio): method txt2ids (line 116) | def txt2ids(self, input_text): method infer_duration_stats (line 122) | def infer_duration_stats(self, mel_src): FILE: train/train_multiband_melgan.py class MultiBandMelganTrainer (line 48) | class MultiBandMelganTrainer(MelganTrainer): method __init__ (line 51) | def __init__( method compile (line 96) | def compile(self, gen_model, dis_model, gen_optimizer, dis_optimizer, ... method compute_per_example_generator_losses (line 109) | def compute_per_example_generator_losses(self, batch, outputs): method compute_per_example_discriminator_losses (line 179) | def compute_per_example_discriminator_losses(self, batch, gen_outputs): method generate_and_save_intermediate_result (line 200) | def generate_and_save_intermediate_result(self, batch): function main (line 258) | def main(): FILE: train/train_unetts_acous.py class UNETTSAcousTrainer (line 45) | class UNETTSAcousTrainer(Seq2SeqBasedTrainer): method __init__ (line 48) | def __init__( method compile (line 76) | def compile(self, model, optimizer): method compute_per_example_losses (line 88) | def compute_per_example_losses(self, batch, outputs): method generate_and_save_intermediate_result (line 118) | def generate_and_save_intermediate_result(self, batch): class UNETTSContentPreTrainer (line 155) | class UNETTSContentPreTrainer(Seq2SeqBasedTrainer): method __init__ (line 158) | def __init__( method compile (line 186) | def compile(self, model, optimizer): method compute_per_example_losses (line 198) | def compute_per_example_losses(self, batch, outputs): method generate_and_save_intermediate_result (line 228) | def generate_and_save_intermediate_result(self, batch): function main (line 268) | def main(): FILE: train/train_unetts_duration.py class UNETTSDurationTrainer (line 45) | class UNETTSDurationTrainer(Seq2SeqBasedTrainer): method __init__ (line 48) | def __init__( method compile (line 73) | def compile(self, model, optimizer): method compute_per_example_losses (line 86) | def compute_per_example_losses(self, batch, outputs): method generate_and_save_intermediate_result (line 112) | def generate_and_save_intermediate_result(self, batch): function main (line 142) | def main(): FILE: train/unetts_dataset.py class UNETTSDurationDataset (line 28) | class UNETTSDurationDataset(AbstractDataset): method __init__ (line 31) | def __init__( method get_args (line 73) | def get_args(self): method generator (line 76) | def generator(self, utt_ids): method _load_data (line 92) | def _load_data(self, items): method create (line 107) | def create( method get_output_dtypes (line 148) | def get_output_dtypes(self): method get_len_dataset (line 157) | def get_len_dataset(self): method __name__ (line 160) | def __name__(self): class UNETTSAcousDataset (line 163) | class UNETTSAcousDataset(AbstractDataset): method __init__ (line 166) | def __init__( method get_args (line 216) | def get_args(self): method generator (line 219) | def generator(self, utt_ids): method _load_data (line 237) | def _load_data(self, items): method create (line 255) | def create( method get_output_dtypes (line 302) | def get_output_dtypes(self): method get_len_dataset (line 312) | def get_len_dataset(self): method __name__ (line 315) | def __name__(self):