Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MuBai-He/ChatWaifu-marai
/ functions
Functions
180 in github.com/MuBai-He/ChatWaifu-marai
⨍
Functions
180
◇
Types & classes
29
Method
__init__
(self, in_channels, hidden_channels, out_channels, kernel_size, n_layers, p_dropout)
modules.py:33
Method
__init__
(self, channels, kernel_size, n_layers, p_dropout=0.)
modules.py:71
Method
__init__
(self, channels, kernel_size=3, dilation=(1, 3, 5))
modules.py:185
Method
__init__
(self, channels, kernel_size=3, dilation=(1, 3))
modules.py:230
Method
__init__
(self, channels)
modules.py:278
Method
__init__
(self, channels, hidden_channels, kernel_size, dilation_rate, n_layers, p_
modules.py:296
Method
__init__
(self, in_channels, filter_channels, kernel_size, n_layers, num_bins=10, tail_bound=5.0)
modules.py:344
Method
__init__
(self)
hubert_model.py:64
Method
__init__
(self)
hubert_model.py:75
Method
__init__
(self)
hubert_model.py:98
Method
__init__
(self)
hubert_model.py:112
Method
__init__
( self, encoder_layer: nn.TransformerEncoderLayer, num_layers: int )
hubert_model.py:130
Method
__len__
(self)
utils.py:24
Method
__repr__
(self)
utils.py:36
Method
__setitem__
(self, key, value)
utils.py:30
Method
_causal_padding
(self, x)
attentions.py:284
Function
_expand_decimal_point
(m)
text/english.py:102
Function
_expand_dollars
(m)
text/english.py:106
Function
_expand_number
(m)
text/english.py:131
Function
_expand_ordinal
(m)
text/english.py:127
Function
_remove_commas
(m)
text/english.py:98
Method
_same_padding
(self, x)
attentions.py:293
Function
ask_if_continue
()
ChatWaifu_marai.py:80
Function
chinese_cleaners
Pipeline for Chinese text
text/cleaners.py:25
Function
chinese_dialect_cleaners
(text)
text/cleaners.py:124
Function
cjke_cleaners
(text)
text/cleaners.py:74
Function
cjke_cleaners2
(text)
text/cleaners.py:92
Function
cjks_cleaners
(text)
text/cleaners.py:53
Method
forward
(self, x, x_mask)
attentions.py:32
Method
forward
x: decoder input h: encoder output
attentions.py:74
Method
forward
(self, x, c, attn_mask=None)
attentions.py:135
Method
forward
(self, x, x_mask)
attentions.py:274
Method
forward
(self, x, x_mask, w=None, g=None, reverse=False, noise_scale=1.0)
models.py:48
Method
forward
(self, x, x_mask, g=None)
models.py:116
Method
forward
(self, x, x_lengths, emotion_embedding=None)
models.py:170
Method
forward
(self, x, x_mask, g=None, reverse=False)
models.py:208
Method
forward
(self, x, x_lengths, g=None)
models.py:240
Method
forward
(self, x, g=None)
models.py:276
Method
forward
(self, x)
modules.py:26
Method
forward
(self, x, x_mask)
modules.py:57
Method
forward
(self, x, x_mask, g=None)
modules.py:93
Method
forward
(self, x, x_mask, g=None, **kwargs)
modules.py:145
Method
forward
(self, x, x_mask=None)
modules.py:207
Method
forward
(self, x, x_mask=None)
modules.py:240
Method
forward
(self, x, x_mask, reverse=False, **kwargs)
modules.py:257
Method
forward
(self, x, *args, reverse=False, **kwargs)
modules.py:268
Method
forward
(self, x, x_mask, reverse=False, **kwargs)
modules.py:284
Method
forward
(self, x, x_mask, g=None, reverse=False)
modules.py:321
Method
forward
(self, x, x_mask, g=None, reverse=False)
modules.py:360
Method
forward
(self, x: torch.Tensor)
hubert_model.py:56
Method
forward
(self, x: torch.Tensor)
hubert_model.py:86
Method
forward
(self, x: torch.Tensor)
hubert_model.py:104
Method
forward
(self, x: torch.Tensor)
hubert_model.py:123
Method
forward
( self, src: torch.Tensor, mask: torch.Tensor = None, src_key_padding_mask: to
hubert_model.py:139
Function
fused_add_tanh_sigmoid_multiply
(input_a, input_b, n_channels)
commons.py:59
Function
generate_path
duration: [b, 1, t_x] mask: [b, 1, t_y, t_x]
commons.py:81
Function
get_hparams_from_file
(config_path)
utils.py:64
Function
get_input
()
ChatWaifu_marai.py:35
Function
init_weights
(m, mean=0.0, std=0.01)
commons.py:18
Function
intersperse
(lst, item)
commons.py:28
Function
japanese_cleaners2
(text)
text/cleaners.py:11
Function
korean_cleaners
Pipeline for Korean text
text/cleaners.py:15
Function
load_audio_to_torch
(full_path, target_sampling_rate)
utils.py:73
Function
load_checkpoint
(checkpoint_path, model)
utils.py:40
Function
mel_spectrogram_torch
(y, n_fft, num_mels, sampling_rate, hop_size, win_size, fmin, fmax, center=False)
mel_processing.py:74
Function
rand_slice_segments
(x, x_lengths=None, segment_size=4)
commons.py:43
Method
remove_weight_norm
(self)
modules.py:175
Method
remove_weight_norm
(self)
modules.py:222
Method
remove_weight_norm
(self)
modules.py:251
Function
reply_to_group
(bot: miraicle.Mirai, msg: miraicle.GroupMessage)
ChatWaifu_marai.py:372
Function
sanskrit_cleaners
(text)
text/cleaners.py:47
Function
script
(obj, optimize=True, _frames_up=0, _rcb=None)
commons.py:10
Function
script_method
(fn, _rcb=None)
commons.py:6
Function
shanghainese_cleaners
(text)
text/cleaners.py:117
Function
spec_to_mel_torch
(spec, n_fft, num_mels, sampling_rate, fmin, fmax)
mel_processing.py:62
Function
spectral_de_normalize_torch
(magnitudes)
mel_processing.py:31
Function
subsequent_mask
(length)
commons.py:53
Function
thai_cleaners
(text)
text/cleaners.py:110
Function
unconstrained_rational_quadratic_spline
(inputs, unnormalized_widths,
transforms.py:55
Function
zh_ja_mixture_cleaners
(text)
text/cleaners.py:35
← previous
101–180 of 180, ranked by callers