↓ 1 callersFunctionmel_spectrogram(
y, n_fft, num_mels, sampling_rate, hop_size, win_size, fmin, fmax, center=False
)
fireredtts/modules/bigvgan/mel_spectrogram.py:24
↓ 1 callersMethodquantize(
self, inp, inp_len, enable_vq=True, update_codebook=True, return_pre_quant=False
)
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:588
Method__init__(
self, config, gpt, text_pos_emb, embeddings, norm, linear, kv_cache=True
)
fireredtts/modules/acoustic_llm/acoustic_llm.py:123
Method__init__(
self, dim: int = 16, stride: int = 1, dilations=(1, 3, 9), causal: bool = False
)
fireredtts/modules/acoustic_codec/bigcodec.py:343
Method__init__(
self,
dim: Union[int, list],
codebook_size: list,
n_groups: int = 1,
fireredtts/modules/acoustic_codec/vector_quantization.py:234
Method__init__(
self,
dim: int,
codebook_size: Union[int, list],
codebook_dim: Union[int, li
fireredtts/modules/acoustic_codec/vector_quantization.py:464
Method__init__(
self,
channels,
kernel_size=3,
dilation=(1, 3, 5),
activation=None,
fireredtts/modules/bigvgan/bigvgan.py:22
Method__init__(
self,
channels,
kernel_size=3,
dilation=(1, 3),
activation=None,
fireredtts/modules/bigvgan/bigvgan.py:155
Method__init__(self, hidden_size, num_heads, head_dim, mlp_ratio=4.0, **block_kwargs)
fireredtts/modules/flowmatching/estimator_dit.py:224
Method__init__(self, config, gpt, pos_emb, embeddings, norm, linear, kv_cache)
fireredtts/modules/semantic_llm/llm_gpt2.py:16
Method__init__(self, config, gpt, pos_emb, embeddings, norm, linear, kv_cache)
fireredtts/modules/semantic_llm/llm_gpt2.py:152
Method__init__(
self,
*args,
norm: str = "none",
norm_kwargs: tp.Dict[str, tp.Any] = {},
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:155
Method__init__(
self,
*args,
norm: str = "none",
norm_kwargs: tp.Dict[str, tp.Any] = {},
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:198
Method__init__(self, C, D, strides=[2, 2], checkpointing=True)
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:439
Method__init__(self, C, D, H, strides=[2, 2], checkpointing=True)
fireredtts/modules/semantic_tokenizer/semantic_tokenizer.py:470