MCPcopy Create free account

hub / github.com/LuChengTHU/dpm-solver / functions

Functions1,626 in github.com/LuChengTHU/dpm-solver

Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/attention.py:63
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/attention.py:88
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/attention.py:126
Methodforward
(self, x, context=None, mask=None)
examples/stable-diffusion/ldm/modules/attention.py:170
Methodforward
(self, x, context=None)
examples/stable-diffusion/ldm/modules/attention.py:208
Methodforward
(self, x, context=None)
examples/stable-diffusion/ldm/modules/attention.py:250
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:51
Methodforward
Apply the module to `x` given `emb` timestep embeddings.
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:68
Methodforward
(self, x, emb, context=None)
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:80
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:109
Methodforward
(self,x)
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:130
Methodforward
(self, x)
examples/stable-diffusion/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 emb:
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:243
Methodforward
(self, x)
examples/stable-diffusion/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 afte
examples/stable-diffusion/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 afte
examples/stable-diffusion/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.
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:710
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.
examples/stable-diffusion/ldm/modules/diffusionmodules/openaimodel.py:938
Methodforward
(ctx, run_function, length, *args)
examples/stable-diffusion/ldm/modules/diffusionmodules/util.py:121
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/util.py:215
Methodforward
(self, c_concat, c_crossattn)
examples/stable-diffusion/ldm/modules/diffusionmodules/util.py:258
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:53
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:72
Methodforward
(self, x, temb)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:121
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:178
Methodforward
(self, x, t=None, context=None)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:316
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:434
Methodforward
(self, z)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:535
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:594
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:641
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:680
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:705
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:722
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:741
Methodforward
(self, x, scale_factor=1.0)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:763
Methodforward
(self,x)
examples/stable-diffusion/ldm/modules/diffusionmodules/model.py:822
Methodforward
(self, batch, key=None)
examples/stable-diffusion/ldm/modules/encoders/modules.py:27
Methodforward
(self, tokens)
examples/stable-diffusion/ldm/modules/encoders/modules.py:44
Methodforward
(self, text)
examples/stable-diffusion/ldm/modules/encoders/modules.py:63
Methodforward
(self, text)
examples/stable-diffusion/ldm/modules/encoders/modules.py:93
Methodforward
(self,x)
examples/stable-diffusion/ldm/modules/encoders/modules.py:125
Methodforward
(self, text)
examples/stable-diffusion/ldm/modules/encoders/modules.py:152
Methodforward
(self, text)
examples/stable-diffusion/ldm/modules/encoders/modules.py:182
Methodforward
(self, x)
examples/stable-diffusion/ldm/modules/encoders/modules.py:226
Methodforward
(self, codebook_loss, inputs, reconstructions, optimizer_idx, global_step, last_layer=None, co
examples/stable-diffusion/ldm/modules/losses/vqperceptual.py:98
Methodforward
(self, inputs, reconstructions, posteriors, optimizer_idx, global_step, last_layer=None, cond=
examples/stable-diffusion/ldm/modules/losses/contperceptual.py:45
Methodforward
(self, input, return_pred_indices=False)
examples/stable-diffusion/ldm/models/autoencoder.py:117
Methodforward
(self, input, sample_posterior=True)
examples/stable-diffusion/ldm/models/autoencoder.py:335
Methodforward
(self, x, *args, **kwargs)
examples/stable-diffusion/ldm/models/autoencoder.py:442
Methodforward
(self, x_noisy, t, *args, **kwargs)
examples/stable-diffusion/ldm/models/diffusion/classifier.py:120
Methodforward
(self, x, *args, **kwargs)
examples/stable-diffusion/ldm/models/diffusion/ddpm.py:323
Methodforward
(self, x, c, *args, **kwargs)
examples/stable-diffusion/ldm/models/diffusion/ddpm.py:870
Methodforward
(self, x, t, c_concat: list = None, c_crossattn: list = None)
examples/stable-diffusion/ldm/models/diffusion/ddpm.py:1402
Methodfreeze
(self)
examples/stable-diffusion/ldm/modules/encoders/modules.py:177
Functionfunc_wrapper
(*args, **kwargs)
examples/ddpm_and_guided-diffusion/models/guided_diffusion/logger.py:311
Functiongen_kernel
# modified version of https://github.com/assafshocher/BlindSR_dataset_generator # Kai Zhang # min_var = 0.175 * sf # variance of the gau
examples/stable-diffusion/ldm/modules/image_degradation/bsrgan_light.py:145
Functiongen_kernel
# modified version of https://github.com/assafshocher/BlindSR_dataset_generator # Kai Zhang # min_var = 0.175 * sf # variance of the gau
examples/stable-diffusion/ldm/modules/image_degradation/bsrgan.py:145
Methodget_base
(self)
examples/stable-diffusion/ldm/data/imagenet.py:390
Functionget_classifier_grad_fn
Create the gradient function for the classifier in use of class-conditional sampling.
examples/score_sde_jax/models/utils.py:318
Functionget_cond_options
(mode)
examples/stable-diffusion/notebook_helpers.py:85
Functionget_config
()
examples/score_sde_pytorch/configs/ve/cifar10_ncsnpp_deep_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/cifar10_ncsnpp.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/bedroom_ncsnpp_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/celeba_ncsnpp.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/celebahq_256_ncsnpp_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ffhq_ncsnpp_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/cifar10_ncsnpp_continuous.py:21
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ffhq_256_ncsnpp_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/celebahq_ncsnpp_continuous.py:23
Functionget_config
()
examples/score_sde_pytorch/configs/ve/cifar10_ddpm.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/church_ncsnpp_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ncsnv2/bedroom.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ncsnv2/celeba.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ncsnv2/cifar10.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ncsn/celeba_124.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ncsn/cifar10_5.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ncsn/celeba_1245.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ncsn/cifar10_1245.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ncsn/celeba.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ncsn/cifar10_124.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ncsn/cifar10.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/ve/ncsn/celeba_5.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/vp/cifar10_ddpmpp_deep_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/vp/cifar10_ncsnpp_deep_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/vp/cifar10_ncsnpp.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/vp/cifar10_ddpmpp_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/vp/cifar10_ddpmpp.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/vp/cifar10_ncsnpp_continuous.py:21
Functionget_config
()
examples/score_sde_pytorch/configs/vp/ddpm/cifar10_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/vp/ddpm/church.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/vp/ddpm/celebahq.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/vp/ddpm/bedroom.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/vp/ddpm/cifar10_unconditional.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/vp/ddpm/cifar10.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/subvp/cifar10_ddpmpp_deep_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/subvp/cifar10_ncsnpp_deep_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/subvp/cifar10_ddpm_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/subvp/cifar10_ddpmpp_continuous.py:22
Functionget_config
()
examples/score_sde_pytorch/configs/subvp/cifar10_ncsnpp_continuous.py:21
Functionget_config
()
examples/score_sde_jax/configs/ve/cifar10_ncsnpp_deep_continuous.py:22
← previousnext →1,201–1,300 of 1,626, ranked by callers