MCPcopy Create free account

hub / github.com/AIGC-Audio/AudioGPT / functions

Functions2,752 in github.com/AIGC-Audio/AudioGPT

Methodforward
Apply the model to an input batch. :param x: an [N x C x ...] Tensor of inputs. :param timesteps: a 1-D batch of timesteps,sh
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/openaimodel.py:711
Methodforward
Apply the model to an input batch. :param x: an [N x C x ...] Tensor of inputs. :param timesteps: a 1-D batch of timesteps.
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/openaimodel.py:940
Methodforward
(ctx, run_function, length, *args)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/util.py:121
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/util.py:215
Methodforward
(self, c_concat, c_crossattn)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/util.py:258
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:53
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:72
Methodforward
(self, x, temb)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:121
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:178
Methodforward
(self, x, t=None, context=None)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:316
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:434
Methodforward
(self, z)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:535
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:594
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:641
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:680
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:705
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:722
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:741
Methodforward
(self, x, scale_factor=1.0)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:763
Methodforward
(self,x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:822
Methodforward
Apply the model to an input batch. :param x: an [N x C x ...] Tensor of inputs. :param timesteps: a 1-D batch of timesteps.
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/custom_openaimodel.py:331
Methodforward
:param x: [B, C, T, n_bins] :return: validity: [B, 1], h: List of hiddens
text_to_audio/Make_An_Audio/ldm/modules/discriminator/multi_window_disc.py:46
Methodforward
Args: x (tensor): input mel, (B, c_in, T, n_bins). x_length (tensor): len of per mel. (B,). Returns:
text_to_audio/Make_An_Audio/ldm/modules/discriminator/multi_window_disc.py:88
Methodforward
:param x: [B, T, 80] :param cond: [B, T, cond_size] :param return_y_only: :return:
text_to_audio/Make_An_Audio/ldm/modules/discriminator/multi_window_disc.py:177
Methodforward
(self, input, reverse=False)
text_to_audio/Make_An_Audio/ldm/modules/discriminator/model.py:38
Methodforward
Standard forward.
text_to_audio/Make_An_Audio/ldm/modules/discriminator/model.py:145
Methodforward
Standard forward.
text_to_audio/Make_An_Audio/ldm/modules/discriminator/model.py:253
Methodforward
(self, codebook_loss, inputs, reconstructions, optimizer_idx, global_step, last_layer=None, co
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/vqperceptual.py:67
Methodforward
(self, input, target)
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/lpaps.py:47
Methodforward
(self, inp)
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/lpaps.py:76
Methodforward
(self, X)
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/lpaps.py:112
Methodforward
(self, inputs, reconstructions, posteriors, optimizer_idx, global_step, last_layer=None, cond=
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/contperceptual_dis.py:60
Methodforward
(self, inputs, reconstructions, posteriors, optimizer_idx, global_step, last_layer=None, cond=
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/contperceptual.py:55
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/vggishish/train_melception.py:32
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/vggishish/model.py:43
Methodforward
(self, batch, key=None)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:28
Methodforward
(self, tokens)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:45
Methodforward
(self, text)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:64
Methodforward
(self, text)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:94
Methodforward
(self,x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:126
Methodforward
(self, text)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:160
Methodforward
(self, text)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:304
Methodforward
(self, text)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:338
Methodforward
(self, audio_features, text_features, logit_scale_a, logit_scale_t=None, audio_features_mlp=None, text_feature
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/loss.py:120
Methodforward
(self, pred, target)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/loss.py:304
Methodforward
(self, x, residual)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/feature_fusion.py:19
Methodforward
(self, x, residual)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/feature_fusion.py:111
Methodforward
(self, x, residual)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/feature_fusion.py:179
Methodforward
(self, input, pool_size=(2, 2), pool_type='avg')
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/pann_model.py:59
Methodforward
(self, input, pool_size=(2, 2), pool_type='avg')
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/pann_model.py:97
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/pann_model.py:132
Methodforward
Input: (batch_size, data_length)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/pann_model.py:223
Methodforward
Input: (batch_size, data_length)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/pann_model.py:380
Methodforward
Input: (batch_size, data_length)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/pann_model.py:476
Methodforward
Args: x: waveform, torch.tensor [batch, t_samples] / batch of mel_spec and longer list mix_lambda: torch.tensor [batc
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/linear_probe.py:45
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/timm_model.py:103
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:68
Methodforward
(self, x, longer_idx = None)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:108
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:158
Methodforward
Args: x: input features with shape of (num_windows*B, N, C) mask: (0/-inf) mask with shape of (num_windows, Wh*Ww, Wh
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:326
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:439
Methodforward
x: B, H*W, C
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:503
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:578
Methodforward
(self, x: torch.Tensor, mixup_lambda = None, infer_mode = False, device=None)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:866
Methodforward
(self, X)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:42
Methodforward
(self, x: torch.Tensor)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:90
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:120
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:233
Methodforward
(self, x: torch.Tensor)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:247
Methodforward
(self, x: torch.Tensor)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:255
Methodforward
(self, x: torch.Tensor, attn_mask: Optional[torch.Tensor] = None)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:279
Methodforward
(self, x: torch.Tensor, attn_mask: Optional[torch.Tensor] = None)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:299
Methodforward
(self, x: torch.Tensor)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:346
Methodforward
Forward audio and text into the CLAP Parameters ---------- audio: torch.Tensor (batch_size, audio_length) the tim
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:652
Methodforward
(self, input, pool_size=(2, 2), pool_type='avg')
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/audio.py:32
Methodforward
(self, input, pool_size=(2, 2), pool_type='avg')
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/audio.py:64
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/audio.py:93
Methodforward
Input: (batch_size, data_length)
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/audio.py:143
Methodforward
(self, x: torch.Tensor)
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/clap.py:16
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/clap.py:36
Methodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/clap.py:48
Methodforward
(self, input, return_pred_indices=False)
text_to_audio/Make_An_Audio/ldm/models/autoencoder.py:117
Methodforward
(self, input, sample_posterior=True)
text_to_audio/Make_An_Audio/ldm/models/autoencoder.py:356
Methodforward
(self, x, *args, **kwargs)
text_to_audio/Make_An_Audio/ldm/models/autoencoder.py:473
Methodforward
(self, input, sample_posterior=True)
text_to_audio/Make_An_Audio/ldm/models/autoencoder_multi.py:73
Methodforward
(self, x, *args, **kwargs)
text_to_audio/Make_An_Audio/ldm/models/autoencoder_multi.py:200
Methodforward
(self, x, c, *args, **kwargs)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio.py:540
Methodforward
(self, x_noisy, t, *args, **kwargs)
text_to_audio/Make_An_Audio/ldm/models/diffusion/classifier.py:120
Methodforward
(self, x, *args, **kwargs)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm.py:321
Methodforward
(self, x, c, *args, **kwargs)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm.py:868
Methodforward
param x: tensor with shape:[B,C,mel_len,T]
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm.py:1400
Methodforward
(self, x, c, *args, **kwargs)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio_inpaint.py:546
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/hifigan/modules.py:46
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/hifigan/modules.py:74
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/hifigan/modules.py:111
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/hifigan/modules.py:153
Methodforward
(self, y, y_hat)
text_to_audio/Make_An_Audio/vocoder/hifigan/modules.py:186
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/hifigan/modules.py:217
Methodforward
(self, y, y_hat)
text_to_audio/Make_An_Audio/vocoder/hifigan/modules.py:243
Methodforward
(self, x)
text_to_audio/Make_An_Audio/vocoder/bigvgan/models.py:72
← previousnext →2,201–2,300 of 2,752, ranked by callers