MCPcopy Create free account

hub / github.com/MYZY-AI/Muyan-TTS / functions

Functions387 in github.com/MYZY-AI/Muyan-TTS

Method__init__
( self, in_channels, out_channels, kernel_size, stride=1, padd
sovits/module/attentions.py:489
Method__init__
( self, hidden_channels, filter_channels, n_heads, n_layers=1,
sovits/module/attentions.py:559
Method__init__
( self, channels, hidden_channels, kernel_size, n_layers, n_he
sovits/module/attentions.py:649
Method__init__
( self, content_enc_channels=192, hidden_size=512, out_channels=192, k
sovits/module/mrte_model.py:10
Method__init__
( self, mel_n_channels=80, model_num_layers=2, model_hidden_size=256,
sovits/module/mrte_model.py:65
Method__init__
( self, in_channels, out_channels, hidden_channels, kernel_size,
sovits/module/mrte_model.py:87
Method__init__
(self, channels, eps=1e-5)
sovits/module/modules.py:20
Method__init__
( self, in_channels, hidden_channels, out_channels, kernel_size,
sovits/module/modules.py:35
Method__init__
(self, channels, kernel_size, n_layers, p_dropout=0.0)
sovits/module/modules.py:91
Method__init__
(self, channels, kernel_size=3, dilation=(1, 3, 5))
sovits/module/modules.py:224
Method__init__
(self, channels, kernel_size=3, dilation=(1, 3))
sovits/module/modules.py:321
Method__init__
(self, channels)
sovits/module/modules.py:387
Method__init__
( self, channels, hidden_channels, kernel_size, dilation_rate,
sovits/module/modules.py:405
Method__init__
( self, in_channels, filter_channels, kernel_size, n_layers, n
sovits/module/modules.py:462
Method__init__
( self, in_channels, out_channels, bias=True, spectral_norm=False,
sovits/module/modules.py:522
Method__init__
(self)
sovits/module/modules.py:541
Method__init__
(self, in_channels, out_channels, kernel_size, dropout)
sovits/module/modules.py:554
Method__init__
( self, in_channels, out_channels, kernel_size=1, stride=1, pa
sovits/module/modules.py:570
Method__init__
(self, n_head, d_model, d_k, d_v, dropout=0.0, spectral_norm=False)
sovits/module/modules.py:608
Method__init__
(self, temperature, dropout)
sovits/module/modules.py:665
Method__init__
( self, n_mel_channels=80, style_hidden=128, style_vector_dim=256, sty
sovits/module/modules.py:688
Method__init__
(self, spec_channels, z_latent_dim, emb_dim)
sovits/module/modules.py:767
Method__init__
(self, channels, ddi=False, **kwargs)
sovits/module/modules.py:818
Method__init__
(self, channels, n_split=4, no_jacobian=False, **kwargs)
sovits/module/modules.py:869
Method__init__
( self, dimension: int = 256, n_q: int = 8, bins: int = 1024, decay: f
sovits/module/quantize.py:42
Method__init__
( self, dim: int, codebook_size: int, codebook_dim: tp.Optional[int] = None,
sovits/module/core_vq.py:251
Method__init__
(self, *, num_quantizers, **kwargs)
sovits/module/core_vq.py:331
Method__init__
(self)
sovits/text/english.py:256
Method__init__
(self)
sovits/text/tone_sandhi.py:23
Method__init__
(self)
sovits/text/zh_normalization/text_normlization.py:60
Method__init__
(self, model_dir='G2PWModel/', model_source=None, enable_non_tradional_chinese=True,
sovits/text/g2pw/g2pw.py:20
Method__init__
(self, g2pw_instance, v_to_u=False, neutral_tone_with_five=False, tone_sandh
sovits/text/g2pw/g2pw.py:40
Method__init__
(self, model_dir: str='sovits/models/G2PWModel/', style: str='bopomofo',
sovits/text/g2pw/onnx_api.py:78
Method__init__
(self, stop_token_ids_list: list[list[int]])
inference/inference_llama.py:16
Method__init__
(self, model_path, model_type)
inference/inference_llama.py:63
Method__init__
(self, model_path, model_type)
inference/inference_llama.py:137
Method__init__
(self, model_type, model_path, ref_wav_path="assets/Claire.wav", prompt_te
inference/inference.py:12
Method__init__
(self)
data_process/audio_process.py:5
Method__len__
(self)
sovits/utils.py:396
Method__new__
(cls, *args, **kwargs)
sovits/process.py:62
Method__repr__
(self)
sovits/utils.py:408
Method__setattr__
(self, key, value)
sovits/process.py:46
Method_causal_padding
(self, x)
sovits/module/attentions.py:416
Method_convert_bopomofo_to_pinyin
(self, bopomofo: str)
sovits/text/g2pw/onnx_api.py:165
Method_process_english
(words, data)
sovits/LangSegment.py:77
Method_process_number
(words, data)
sovits/LangSegment.py:82
Method_same_padding
(self, x)
sovits/module/attentions.py:425
Functionadd_timing_signal_1d
(x, min_timescale=1.0, max_timescale=1.0e4)
sovits/module/commons.py:83
Functionaudio_hubert_embedding
(input_dir="data", output_dir="data", cnhubert_base_path="pretrained_models/chinese-hubert-base")
data_process/audio_hubert_embedding.py:24
Functionaudio_tokenizer
(input_dir = "data", output_dir = "data", s2config_path = "sovits/configs/s2
data_process/audio_tokenizer.py:19
Methodcal_tts
(self, batch_prompts, temperature, repetition_penalty)
inference/inference_llama.py:126
Functioncat_timing_signal_1d
(x, min_timescale=1.0, max_timescale=1.0e4, axis=1)
sovits/module/commons.py:89
Functionclean_text_inf
(text, language, version)
sovits/utils.py:144
Functionclip_grad_value_
(parameters, clip_value, norm_type=2)
sovits/module/commons.py:146
Methodcodebook
(self)
sovits/module/core_vq.py:289
Functioncorrect_pronunciation
(word,word_pinyins)
sovits/text/g2pw/g2pw.py:147
Functioncount_audio_tokens
(strings)
sovits/utils.py:377
Methoddecode
Decode the given codes to the quantized representation. Args: codes (torch.Tensor): Input indices for each quantizer.
sovits/module/quantize.py:112
Methoddecode
(self, embed_ind)
sovits/module/core_vq.py:298
Methoddecode
(self, q_indices: torch.Tensor, st: int = 0)
sovits/module/core_vq.py:377
Methoddecode_latent
(self, codes, y_mask, refer, refer_mask, ge)
sovits/models.py:269
Functiondownload_and_decompress
(model_dir: str='G2PWModel/')
sovits/text/g2pw/onnx_api.py:54
Methodembed
(self, x)
sovits/models.py:737
Methodencode
Encode a given input tensor with the specified sample rate at the given bandwidth. The RVQ encode method sets the appropriate number of quanti
sovits/module/quantize.py:96
Methodencode
(self, x)
sovits/module/core_vq.py:292
Methodencode
( self, x: torch.Tensor, n_q: tp.Optional[int] = None, st: tp.Optional[int] = None )
sovits/module/core_vq.py:362
Methodextract_latent
(self, x)
sovits/models.py:1024
Methodforward
(self, x)
sovits/cnhubert.py:35
Methodforward
(self, x, x_mask, w=None, g=None, reverse=False, noise_scale=1.0)
sovits/models.py:76
Methodforward
(self, x, x_mask, g=None)
sovits/models.py:164
Methodforward
(self, y, y_lengths, text, text_lengths, ge, speed=1,test=None)
sovits/models.py:239
Methodforward
(self, x, x_mask, g=None, reverse=False)
sovits/models.py:319
Methodforward
(self, x, x_lengths, g=None)
sovits/models.py:359
Methodforward
(self, x, x_lengths, g=None)
sovits/models.py:404
Methodforward
(self, x, g=None)
sovits/models.py:463
Methodforward
(self, x)
sovits/models.py:549
Methodforward
(self, x)
sovits/models.py:587
Methodforward
(self, y, y_hat)
sovits/models.py:612
Methodforward
(self, inputs)
sovits/models.py:662
Methodforward
(self, x)
sovits/models.py:692
Methodforward
(self, xin)
sovits/models.py:716
Methodforward
(self, x, x_mask, refer, codes, infer=False)
sovits/models.py:783
Methodforward
(self, ssl, y, y_lengths, text, text_lengths)
sovits/models.py:913
Methodforward
(self, x, x_mask, g=None)
sovits/module/attentions.py:66
Methodforward
x: decoder input h: encoder output
sovits/module/attentions.py:151
Methodforward
(self, x, c, attn_mask=None)
sovits/module/attentions.py:231
Methodforward
(self, x, x_mask)
sovits/module/attentions.py:406
Methodforward
(self, input)
sovits/module/attentions.py:476
Methodforward
(self, input)
sovits/module/attentions.py:527
Methodforward
x: decoder input h: encoder output
sovits/module/attentions.py:617
Methodforward
(self, x, x_mask, g=None, reverse=False)
sovits/module/attentions.py:690
Methodforward
(self, ssl_enc, ssl_mask, text, text_mask, ge, test=None)
sovits/module/mrte_model.py:25
Methodforward
(self, mels)
sovits/module/mrte_model.py:79
Methodforward
(self, x)
sovits/module/mrte_model.py:108
Methodforward
(self, x)
sovits/module/mrte_model.py:151
Methodforward
(self, x)
sovits/module/modules.py:28
Methodforward
(self, x, x_mask)
sovits/module/modules.py:76
Methodforward
(self, x, x_mask, g=None)
sovits/module/modules.py:120
Methodforward
(self, x, x_mask, g=None, **kwargs)
sovits/module/modules.py:187
Methodforward
(self, x, x_mask=None)
sovits/module/modules.py:298
← previousnext →201–300 of 387, ranked by callers