MCPcopy Create free account

hub / github.com/FireRedTeam/FireRedTTS / types & classes

Types & classes96 in github.com/FireRedTeam/FireRedTTS

↓ 16 callersClassConv1d
This function implements 1d convolution. Arguments --------- out_channels : int It is the number of output channels. kernel_s
fireredtts/modules/semantic_tokenizer/ecapa_tdnn.py:84
↓ 8 callersClassSwish
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:363
↓ 7 callersClassSConv1d
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:217
↓ 7 callersClassTDNNBlock
An implementation of TDNN. Arguments ---------- in_channels : int Number of input channels. out_channels : int The nu
fireredtts/modules/semantic_tokenizer/ecapa_tdnn.py:447
↓ 6 callersClassActivation1d
fireredtts/modules/acoustic_codec/alias_free_torch/act.py:8
↓ 6 callersClassActivation1d
fireredtts/modules/bigvgan/alias_free_torch/act.py:7
↓ 6 callersClassSnakeBeta
fireredtts/modules/acoustic_codec/bigcodec.py:290
↓ 4 callersClassResidualUnit
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:368
↓ 4 callersClassTranspose
fireredtts/modules/flowmatching/estimator_dit.py:155
↓ 3 callersClassSnake
Implementation of a sine-based periodic activation function Shape: - Input: (B, C, T) - Output: (B, C, T), same shape as the
fireredtts/modules/bigvgan/activations.py:9
↓ 3 callersClassSnakeBeta
A modified Snake function which uses separate parameters for the magnitude of the periodic components Shape: - Input: (B, C, T)
fireredtts/modules/bigvgan/activations.py:65
↓ 2 callersClassBatchNorm1d
Applies 1d batch normalization to the input tensor. Arguments --------- input_shape : tuple The expected shape of the input. Alte
fireredtts/modules/semantic_tokenizer/ecapa_tdnn.py:294
↓ 2 callersClassCausalConv1d
fireredtts/modules/flowmatching/estimator_dit.py:166
↓ 2 callersClassConformerEncoderLayer
Encoder layer module. Args: size (int): Input dimension. self_attn (torch.nn.Module): Self-attention module instance.
fireredtts/modules/flowmatching/upsample_encoder.py:417
↓ 2 callersClassECAPA_TDNN
An implementation of the speaker embedding model in a paper. "ECAPA-TDNN: Emphasized Channel Attention, Propagation and Aggregation in TDNN Ba
fireredtts/modules/semantic_tokenizer/ecapa_tdnn.py:791
↓ 2 callersClassEspnetRelPositionalEncoding
Relative positional encoding module (new implementation). Details can be found in https://github.com/espnet/espnet/pull/2816. See : Appendix
fireredtts/modules/flowmatching/upsample_encoder.py:175
↓ 2 callersClassLearnedPositionEmbeddings
fireredtts/modules/semantic_llm/llm_gpt2.py:290
↓ 2 callersClassLinearNoSubsampling
Linear transform the input without subsampling Args: idim (int): Input dimension. odim (int): Output dimension. dropout_ra
fireredtts/modules/flowmatching/upsample_encoder.py:372
↓ 2 callersClassPositionwiseFeedForward
Positionwise feed forward layer. FeedForward are appied on each position of the sequence. The output dim is same with the input dim. Arg
fireredtts/modules/flowmatching/upsample_encoder.py:334
↓ 2 callersClassRelPositionMultiHeadedAttention
fireredtts/modules/flowmatching/upsample_encoder.py:71
↓ 2 callersClassResLSTM
fireredtts/modules/acoustic_codec/bigcodec.py:400
↓ 2 callersClassResidualUnit
fireredtts/modules/acoustic_codec/bigcodec.py:323
↓ 2 callersClassSLSTM
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:335
↓ 2 callersClassVectorQuantization
fireredtts/modules/acoustic_codec/vector_quantization.py:462
↓ 1 callersClassAcousticLLM
fireredtts/modules/acoustic_llm/acoustic_llm.py:534
↓ 1 callersClassAttention
fireredtts/modules/flowmatching/estimator_dit.py:39
↓ 1 callersClassAttentiveStatisticsPooling
This class implements an attentive statistic pooling layer for each channel. It returns the concatenated mean and std of the input tensor. Ar
fireredtts/modules/semantic_tokenizer/ecapa_tdnn.py:614
↓ 1 callersClassBigVGAN
fireredtts/modules/bigvgan/bigvgan.py:235
↓ 1 callersClassCausalConvBlock
fireredtts/modules/flowmatching/estimator_dit.py:182
↓ 1 callersClassCodecDecoder
fireredtts/modules/acoustic_codec/bigcodec.py:515
↓ 1 callersClassCodecEncoder
fireredtts/modules/acoustic_codec/bigcodec.py:442
↓ 1 callersClassConvLayerNorm
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:45
↓ 1 callersClassDecoderBlock
fireredtts/modules/acoustic_codec/bigcodec.py:367
↓ 1 callersClassDecoderBlock
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:416
↓ 1 callersClassDiT
Diffusion model with a Transformer backbone.
fireredtts/modules/flowmatching/estimator_dit.py:277
↓ 1 callersClassDiTBlock
A DiT block with adaptive layer norm zero (adaLN-Zero) conditioning.
fireredtts/modules/flowmatching/estimator_dit.py:220
↓ 1 callersClassDownSample1d
fireredtts/modules/acoustic_codec/alias_free_torch/resample.py:41
↓ 1 callersClassDownSample1d
fireredtts/modules/bigvgan/alias_free_torch/resample.py:40
↓ 1 callersClassDualEmbedding
fireredtts/modules/flowmatching/flow.py:9
↓ 1 callersClassEncoder
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:438
↓ 1 callersClassEncoderBlock
fireredtts/modules/acoustic_codec/bigcodec.py:341
↓ 1 callersClassEncoderBlock
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:394
↓ 1 callersClassEuclideanCodebook
fireredtts/modules/acoustic_codec/vector_quantization.py:49
↓ 1 callersClassFinalLayer
The final layer of DiT.
fireredtts/modules/flowmatching/estimator_dit.py:257
↓ 1 callersClassFixedStoppingCriteria
fireredtts/modules/acoustic_llm/acoustic_llm.py:75
↓ 1 callersClassFlowToken2Audio
fireredtts/models/token2audio.py:62
↓ 1 callersClassFlowToken2Mel
fireredtts/modules/flowmatching/__init__.py:6
↓ 1 callersClassFp32BatchNorm
fireredtts/modules/semantic_tokenizer/ecapa_tdnn.py:259
↓ 1 callersClassGPT2ICInferenceModel
Override GPT2LMHeadModel to allow for prefix conditioning.
fireredtts/modules/semantic_llm/llm_gpt2.py:149
↓ 1 callersClassGPT2InferenceModel
Override GPT2LMHeadModel to allow for prefix conditioning.
fireredtts/modules/semantic_llm/llm_gpt2.py:13
↓ 1 callersClassHuBERT
fireredtts/modules/semantic_tokenizer/hubert.py:17
↓ 1 callersClassLearnedPositionEmbeddings
fireredtts/modules/acoustic_llm/acoustic_llm.py:492
↓ 1 callersClassLowPassFilter1d
fireredtts/modules/acoustic_codec/alias_free_torch/filter.py:64
↓ 1 callersClassLowPassFilter1d
fireredtts/modules/bigvgan/alias_free_torch/filter.py:63
↓ 1 callersClassMHGPT2InferenceModel
fireredtts/modules/acoustic_llm/acoustic_llm.py:121
↓ 1 callersClassMLP
fireredtts/modules/flowmatching/estimator_dit.py:8
↓ 1 callersClassMelExtractor
fireredtts/modules/bigvgan/mel_spectrogram.py:67
↓ 1 callersClassMultiHeadRepetitionPenaltyLogitsProcessor
fireredtts/modules/acoustic_llm/acoustic_llm.py:31
↓ 1 callersClassNormConv1d
fireredtts/modules/acoustic_codec/bigcodec.py:106
↓ 1 callersClassNormConv1d
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:132
↓ 1 callersClassNormConvTranspose1d
fireredtts/modules/acoustic_codec/bigcodec.py:127
↓ 1 callersClassNormConvTranspose1d
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:173
↓ 1 callersClassPreLookaheadLayer
fireredtts/modules/flowmatching/upsample_encoder.py:301
↓ 1 callersClassRes2NetBlock
An implementation of Res2NetBlock w/ dilation. Arguments --------- in_channels : int The number of channels expected in the input
fireredtts/modules/semantic_tokenizer/ecapa_tdnn.py:495
↓ 1 callersClassResampler
fireredtts/modules/acoustic_codec/bigcodec.py:428
↓ 1 callersClassSConv1d
fireredtts/modules/acoustic_codec/bigcodec.py:150
↓ 1 callersClassSConvTranspose1d
fireredtts/modules/acoustic_codec/bigcodec.py:214
↓ 1 callersClassSConvTranspose1d
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:280
↓ 1 callersClassSEBlock
An implementation of squeeze-and-excitation block. Arguments --------- in_channels : int The number of input channels. se_cha
fireredtts/modules/semantic_tokenizer/ecapa_tdnn.py:564
↓ 1 callersClassSERes2NetBlock
An implementation of building block in ECAPA-TDNN, i.e., TDNN-Res2Net-TDNN-SEBlock. Arguments ---------- out_channels: int Th
fireredtts/modules/semantic_tokenizer/ecapa_tdnn.py:705
↓ 1 callersClassSemanticTokenizer
fireredtts/modules/semantic_tokenizer/__init__.py:8
↓ 1 callersClassSemanticVQVAE
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:692
↓ 1 callersClassSpeech_LLM_GPT2
fireredtts/modules/semantic_llm/llm_gpt2.py:356
↓ 1 callersClassSuppressionLogitsProcessor
fireredtts/modules/acoustic_llm/acoustic_llm.py:108
↓ 1 callersClassTextNormalizer
fireredtts/modules/text_normalizer/normalize.py:112
↓ 1 callersClassTimeRegulator
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:507
↓ 1 callersClassTimestepEmbedder
Embeds scalar timesteps into vector representations.
fireredtts/modules/flowmatching/estimator_dit.py:112
↓ 1 callersClassTorchMelSpectrogram
fireredtts/modules/semantic_tokenizer/audio.py:37
↓ 1 callersClassTreeVectorQuantization
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:536
↓ 1 callersClassTwoStageCodec
fireredtts/models/token2audio.py:9
↓ 1 callersClassUpSample1d
fireredtts/modules/acoustic_codec/alias_free_torch/resample.py:10
↓ 1 callersClassUpSample1d
fireredtts/modules/bigvgan/alias_free_torch/resample.py:9
↓ 1 callersClassUpsample1D
A 1D upsampling layer with an optional convolution. Parameters: channels (`int`): number of channels in the inputs and output
fireredtts/modules/flowmatching/upsample_encoder.py:273
↓ 1 callersClassUpsampleConformerEncoder
fireredtts/modules/flowmatching/upsample_encoder.py:487
ClassAMPBlock1
fireredtts/modules/bigvgan/bigvgan.py:21
ClassAMPBlock2
fireredtts/modules/bigvgan/bigvgan.py:154
ClassBigCodec
fireredtts/modules/acoustic_codec/bigcodec.py:599
ClassCausalFmWithSpkCtx
fireredtts/modules/flowmatching/flow.py:38
ClassDecoder
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:469
ClassDelayStoppingCriteria
fireredtts/modules/acoustic_llm/acoustic_llm.py:90
ClassFireRedTTS
fireredtts/models/fireredtts.py:17
ClassLinear
Computes a linear transformation y = wx + b. Arguments --------- n_neurons : int It is the number of output neurons (i.e, the dim
fireredtts/modules/semantic_tokenizer/ecapa_tdnn.py:387
ClassMultiHeadEuclideanCodebook
fireredtts/modules/acoustic_codec/vector_quantization.py:232
ClassMultiHeadedAttention
fireredtts/modules/flowmatching/upsample_encoder.py:10
ClassNormConv2d
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:153
ClassNormConvTranspose2d
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:196