Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LuChengTHU/dpm-solver
/ functions
Functions
1,626 in github.com/LuChengTHU/dpm-solver
⨍
Functions
1,626
◇
Types & classes
286
Method
encode_to_prequant
(self, x)
examples/stable-diffusion/ldm/models/autoencoder.py:102
Function
error
(*args)
examples/ddpm_and_guided-diffusion/models/guided_diffusion/logger.py:266
Function
evaluate
Evaluate trained models. Args: config: Configuration to use. workdir: Working directory for checkpoints. eval_folder: The subfolder for
examples/score_sde_pytorch/run_lib.py:175
Function
evaluate
Evaluate trained models. Args: config: Configuration to use. workdir: Working directory for checkpoints. eval_folder: The subfolder for
examples/score_sde_jax/run_lib.py:217
Method
extra_repr
(self)
examples/ddpm_and_guided-diffusion/datasets/lsun.py:174
Method
extra_repr
(self)
examples/ddpm_and_guided-diffusion/datasets/celeba.py:161
Function
flatten_dict
Flatten a hierarchical dict to a simple dict.
examples/score_sde_jax/utils.py:104
Method
forward
Get Inception feature maps Parameters ---------- inp : torch.autograd.Variable Input tensor of shape Bx3xHxW. Val
examples/ddpm_and_guided-diffusion/evaluate/inception.py:129
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/evaluate/inception.py:216
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/evaluate/inception.py:241
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/evaluate/inception.py:269
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/evaluate/inception.py:302
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/models/diffusion.py:47
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/models/diffusion.py:67
Method
forward
(self, x, temb)
examples/ddpm_and_guided-diffusion/models/diffusion.py:115
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/models/diffusion.py:164
Method
forward
(self, x, t)
examples/ddpm_and_guided-diffusion/models/diffusion.py:301
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/models/guided_diffusion/nn.py:18
Method
forward
(ctx, run_function, length, *args)
examples/ddpm_and_guided-diffusion/models/guided_diffusion/nn.py:144
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:43
Method
forward
Apply the module to `x` given `emb` timestep embeddings.
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:60
Method
forward
(self, x, emb)
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:72
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:138
Method
forward
Apply the block to a Tensor, conditioned on a timestep embedding. :param x: an [N x C x ...] Tensor of features. :param emb:
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:224
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:296
Method
forward
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 aft
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:337
Method
forward
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 aft
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:370
Method
forward
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/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:634
Method
forward
(self, x, timesteps, low_res=None, **kwargs)
examples/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:676
Method
forward
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/ddpm_and_guided-diffusion/models/guided_diffusion/unet.py:871
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/models/improved_ddpm/nn.py:18
Method
forward
(ctx, run_function, length, *args)
examples/ddpm_and_guided-diffusion/models/improved_ddpm/nn.py:140
Method
forward
Apply the module to `x` given `emb` timestep embeddings.
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:29
Method
forward
(self, x, emb)
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:41
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:102
Method
forward
Apply the block to a Tensor, conditioned on a timestep embedding. :param x: an [N x C x ...] Tensor of features. :param emb:
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:172
Method
forward
(self, x)
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:219
Method
forward
Apply QKV attention. :param qkv: an [N x (C * 3) x T] tensor of Qs, Ks, and Vs. :return: an [N x C x T] tensor after attenti
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:238
Method
forward
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/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:463
Method
forward
(self, x, timesteps, low_res=None, **kwargs)
examples/ddpm_and_guided-diffusion/models/improved_ddpm/unet.py:537
Method
forward
(ctx, grad_output, out, negative_slope, scale)
examples/score_sde_pytorch/op/fused_act.py:22
Method
forward
(ctx, input, bias, negative_slope, scale)
examples/score_sde_pytorch/op/fused_act.py:54
Method
forward
(self, input)
examples/score_sde_pytorch/op/fused_act.py:82
Method
forward
( ctx, grad_output, kernel, grad_kernel, up, down, pad, g_pad, in_size, out_size )
examples/score_sde_pytorch/op/upfirdn2d.py:21
Method
forward
(ctx, input, kernel, up, down, pad)
examples/score_sde_pytorch/op/upfirdn2d.py:90
Method
forward
(self, x)
examples/score_sde_pytorch/models/layers.py:147
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/layers.py:171
Method
forward
(self, x)
examples/score_sde_pytorch/models/layers.py:196
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/layers.py:222
Method
forward
(self, xs, shape)
examples/score_sde_pytorch/models/layers.py:244
Method
forward
(self, xs, y, shape)
examples/score_sde_pytorch/models/layers.py:267
Method
forward
(self, xs, output_shape)
examples/score_sde_pytorch/models/layers.py:295
Method
forward
(self, xs, y, output_shape)
examples/score_sde_pytorch/models/layers.py:333
Method
forward
(self, inputs)
examples/score_sde_pytorch/models/layers.py:365
Method
forward
(self, inputs)
examples/score_sde_pytorch/models/layers.py:377
Method
forward
(self, inputs)
examples/score_sde_pytorch/models/layers.py:390
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/layers.py:437
Method
forward
(self, x)
examples/score_sde_pytorch/models/layers.py:494
Method
forward
(self, x)
examples/score_sde_pytorch/models/layers.py:552
Method
forward
(self, x)
examples/score_sde_pytorch/models/layers.py:568
Method
forward
(self, x)
examples/score_sde_pytorch/models/layers.py:591
Method
forward
(self, x)
examples/score_sde_pytorch/models/layers.py:606
Method
forward
(self, x, temb=None)
examples/score_sde_pytorch/models/layers.py:645
Method
forward
(self, x, labels)
examples/score_sde_pytorch/models/ddpm.py:110
Method
forward
(self, x, time_cond)
examples/score_sde_pytorch/models/ncsnpp.py:232
Method
forward
(self, x)
examples/score_sde_pytorch/models/layerspp.py:39
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/layerspp.py:52
Method
forward
(self, x)
examples/score_sde_pytorch/models/layerspp.py:75
Method
forward
(self, x)
examples/score_sde_pytorch/models/layerspp.py:114
Method
forward
(self, x)
examples/score_sde_pytorch/models/layerspp.py:149
Method
forward
(self, x, temb=None)
examples/score_sde_pytorch/models/layerspp.py:193
Method
forward
(self, x, temb=None)
examples/score_sde_pytorch/models/layerspp.py:242
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/ncsnv2.py:106
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/ncsnv2.py:196
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/ncsnv2.py:284
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/ncsnv2.py:386
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/normalization.py:57
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/normalization.py:82
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/normalization.py:101
Method
forward
(self, x)
examples/score_sde_pytorch/models/normalization.py:118
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/normalization.py:139
Method
forward
(self, x)
examples/score_sde_pytorch/models/normalization.py:153
Method
forward
(self, x)
examples/score_sde_pytorch/models/normalization.py:170
Method
forward
(self, x, y)
examples/score_sde_pytorch/models/normalization.py:200
Method
forward
(self, x)
examples/score_sde_pytorch/models/up_or_down_sampling.py:45
Method
forward
(self,model)
examples/stable-diffusion/ldm/modules/ema.py:25
Method
forward
(self, x)
examples/stable-diffusion/ldm/modules/x_transformer.py:34
Method
forward
(self, x, seq_dim=1, offset=0)
examples/stable-diffusion/ldm/modules/x_transformer.py:45
Method
forward
(self, x, **kwargs)
examples/stable-diffusion/ldm/modules/x_transformer.py:123
Method
forward
(self, x, **kwargs)
examples/stable-diffusion/ldm/modules/x_transformer.py:134
Method
forward
(self, x)
examples/stable-diffusion/ldm/modules/x_transformer.py:146
Method
forward
(self, x)
examples/stable-diffusion/ldm/modules/x_transformer.py:158
Method
forward
(self, x, residual)
examples/stable-diffusion/ldm/modules/x_transformer.py:164
Method
forward
(self, x, residual)
examples/stable-diffusion/ldm/modules/x_transformer.py:173
Method
forward
(self, x)
examples/stable-diffusion/ldm/modules/x_transformer.py:189
Method
forward
(self, x)
examples/stable-diffusion/ldm/modules/x_transformer.py:210
Method
forward
( self, x, context=None, mask=None, context_mask=N
examples/stable-diffusion/ldm/modules/x_transformer.py:268
Method
forward
( self, x, context=None, mask=None, context_mask=N
examples/stable-diffusion/ldm/modules/x_transformer.py:481
Method
forward
( self, x, return_embeddings=False, mask=None, ret
examples/stable-diffusion/ldm/modules/x_transformer.py:598
Method
forward
(self, x)
examples/stable-diffusion/ldm/modules/attention.py:42
← previous
next →
1,101–1,200 of 1,626, ranked by callers