MCPcopy Create free account

hub / github.com/Text-to-Audio/Make-An-Audio / functions

Functions679 in github.com/Text-to-Audio/Make-An-Audio

Methodforward
( self, x, context=None, mask=None, context_m
ldm/modules/x_transformer.py:481
Methodforward
( self, x, return_embeddings=False, mask=None,
ldm/modules/x_transformer.py:598
Methodforward
(self, x)
ldm/modules/attention.py:42
Methodforward
(self, x)
ldm/modules/attention.py:63
Methodforward
(self, x)
ldm/modules/attention.py:88
Methodforward
(self, x)
ldm/modules/attention.py:126
Methodforward
(self, x, context=None, mask=None)
ldm/modules/attention.py:170
Methodforward
(self, x, context=None)
ldm/modules/attention.py:208
Methodforward
(self, x, context=None)
ldm/modules/attention.py:250
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:51
Methodforward
Apply the module to `x` given `emb` timestep embeddings.
ldm/modules/diffusionmodules/openaimodel.py:68
Methodforward
(self, x, emb, context=None)
ldm/modules/diffusionmodules/openaimodel.py:80
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:109
Methodforward
(self,x)
ldm/modules/diffusionmodules/openaimodel.py:130
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:158
Methodforward
Apply the block to a Tensor, conditioned on a timestep embedding. :param x: an [N x C x ...] Tensor of features. :param em
ldm/modules/diffusionmodules/openaimodel.py:243
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:314
Methodforward
Apply QKV attention. :param qkv: an [N x (H * 3 * C) x T] tensor of Qs, Ks, and Vs. :return: an [N x (H * C) x T] tensor a
ldm/modules/diffusionmodules/openaimodel.py:356
Methodforward
Apply QKV attention. :param qkv: an [N x (3 * H * C) x T] tensor of Qs, Ks, and Vs. :return: an [N x (H * C) x T] tensor a
ldm/modules/diffusionmodules/openaimodel.py:388
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
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
ldm/modules/diffusionmodules/openaimodel.py:940
Methodforward
(ctx, run_function, length, *args)
ldm/modules/diffusionmodules/util.py:121
Methodforward
(self, x)
ldm/modules/diffusionmodules/util.py:215
Methodforward
(self, c_concat, c_crossattn)
ldm/modules/diffusionmodules/util.py:258
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:53
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:72
Methodforward
(self, x, temb)
ldm/modules/diffusionmodules/model.py:121
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:178
Methodforward
(self, x, t=None, context=None)
ldm/modules/diffusionmodules/model.py:316
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:434
Methodforward
(self, z)
ldm/modules/diffusionmodules/model.py:535
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:594
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:641
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:680
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:705
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:722
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:741
Methodforward
(self, x, scale_factor=1.0)
ldm/modules/diffusionmodules/model.py:763
Methodforward
(self,x)
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
ldm/modules/diffusionmodules/custom_openaimodel.py:331
Methodforward
:param x: [B, C, T, n_bins] :return: validity: [B, 1], h: List of hiddens
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:
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:
ldm/modules/discriminator/multi_window_disc.py:177
Methodforward
(self, input, reverse=False)
ldm/modules/discriminator/model.py:38
Methodforward
Standard forward.
ldm/modules/discriminator/model.py:145
Methodforward
Standard forward.
ldm/modules/discriminator/model.py:253
Methodforward
(self, codebook_loss, inputs, reconstructions, optimizer_idx, global_step, last_layer=None, c
ldm/modules/losses_audio/vqperceptual.py:97
Methodforward
(self, inputs, reconstructions, posteriors, optimizer_idx, global_step, last_layer=None, cond
ldm/modules/losses_audio/contperceptual.py:73
Methodforward
(self, batch, key=None)
ldm/modules/encoders/modules.py:28
Methodforward
(self, tokens)
ldm/modules/encoders/modules.py:45
Methodforward
(self, text)
ldm/modules/encoders/modules.py:64
Methodforward
(self, text)
ldm/modules/encoders/modules.py:94
Methodforward
(self,x)
ldm/modules/encoders/modules.py:126
Methodforward
(self, text)
ldm/modules/encoders/modules.py:160
Methodforward
(self, text)
ldm/modules/encoders/modules.py:264
Methodforward
(self, input, pool_size=(2, 2), pool_type='avg')
ldm/modules/encoders/CLAP/audio.py:32
Methodforward
(self, input, pool_size=(2, 2), pool_type='avg')
ldm/modules/encoders/CLAP/audio.py:64
Methodforward
(self, x)
ldm/modules/encoders/CLAP/audio.py:93
Methodforward
Input: (batch_size, data_length)
ldm/modules/encoders/CLAP/audio.py:143
Methodforward
(self, x: torch.Tensor)
ldm/modules/encoders/CLAP/clap.py:16
Methodforward
(self, x)
ldm/modules/encoders/CLAP/clap.py:36
Methodforward
(self, x)
ldm/modules/encoders/CLAP/clap.py:48
Methodforward
(self, audio, text)
ldm/modules/encoders/CLAP/clap.py:85
Methodforward
(self, input, return_pred_indices=False)
ldm/models/autoencoder.py:117
Methodforward
(self, input, sample_posterior=True)
ldm/models/autoencoder.py:356
Methodforward
(self, x, *args, **kwargs)
ldm/models/autoencoder.py:473
Methodforward
(self, input, sample_posterior=True)
ldm/models/autoencoder_multi.py:73
Methodforward
(self, x, *args, **kwargs)
ldm/models/autoencoder_multi.py:200
Methodforward
(self, x, c, *args, **kwargs)
ldm/models/diffusion/ddpm_audio.py:419
Methodforward
(self, x_noisy, t, *args, **kwargs)
ldm/models/diffusion/classifier.py:120
Methodforward
(self, x, *args, **kwargs)
ldm/models/diffusion/ddpm.py:321
Methodforward
(self, x, c, *args, **kwargs)
ldm/models/diffusion/ddpm.py:845
Methodforward
param x: tensor with shape:[B,C,mel_len,T]
ldm/models/diffusion/ddpm.py:1365
Methodforward
(self, x, c, *args, **kwargs)
ldm/models/diffusion/ddpm_audio_inpaint.py:546
Methodforward
(self,y,center=False, complex=False)
preprocess/NAT_mel.py:64
Methodforward
(self, x)
vocoder/bigvgan/models.py:72
Methodforward
(self, x)
vocoder/bigvgan/models.py:120
Methodforward
(self, x)
vocoder/bigvgan/models.py:181
Methodforward
(self, x)
vocoder/bigvgan/models.py:231
Methodforward
(self, y, y_hat)
vocoder/bigvgan/models.py:261
Methodforward
(self, x)
vocoder/bigvgan/models.py:304
Methodforward
(self, y, y_hat)
vocoder/bigvgan/models.py:341
Methodforward
Forward pass of the function. Applies the function to the input elementwise. Snake ∶= x + 1/a * sin^2 (xa)
vocoder/bigvgan/activations.py:48
Methodforward
Forward pass of the function. Applies the function to the input elementwise. SnakeBeta ∶= x + 1/b * sin^2 (xa)
vocoder/bigvgan/activations.py:107
Methodforward
(self, x)
vocoder/bigvgan/alias_free_torch/resample.py:25
Methodforward
(self, x)
vocoder/bigvgan/alias_free_torch/resample.py:46
Methodforward
(self, x)
vocoder/bigvgan/alias_free_torch/filter.py:86
Methodforward
(self, x)
vocoder/bigvgan/alias_free_torch/act.py:23
Functiongenerator_loss
(disc_outputs)
vocoder/bigvgan/models.py:381
Methodget_audio_embeddings_per_batch
r"""Load preprocessed audio and return a audio embeddings per batch
wav_evaluation/models/CLAPWrapper.py:243
Methodget_audio_embeddings_per_batch
r"""Load preprocessed audio and return a audio embeddings per batch
ldm/modules/encoders/CLAP/CLAPWrapper.py:227
Functionget_ckpt_path
(name, root, check=False)
ldm/util.py:128
Methodget_fold_unfold
:param x: img of size (bs, c, h, w) :return: n img crops of size (n, bs, c, kernel_size[0], kernel_size[1])
ldm/models/diffusion/ddpm_audio.py:246
Methodget_input
(self, batch, k, cond_key=None, bs=None, return_first_stage_outputs=False)
ldm/models/diffusion/ddpm_audio.py:1018
Methodget_last_layer
(self)
ldm/modules/diffusionmodules/model.py:364
Methodget_model_output
(x, t)
ldm/models/diffusion/plms.py:178
Methodget_text_embeddings_per_batch
r"""Load preprocessed text and return text embeddings per batch
wav_evaluation/models/CLAPWrapper.py:247
Methodget_text_embeddings_per_batch
r"""Load preprocessed text and return text embeddings per batch
ldm/modules/encoders/CLAP/CLAPWrapper.py:231
Methodget_x_prev_and_pred_x0
(e_t, index)
ldm/models/diffusion/plms.py:199
Functiongetrank
()
main.py:140
← previousnext →501–600 of 679, ranked by callers