MCPcopy Create free account

hub / github.com/ali-vilab/AnyDoor / functions

Functions1,053 in github.com/ali-vilab/AnyDoor

Methodffn_residual_func
(x: Tensor)
dinov2/dinov2/layers/block.py:86
Methodffn_residual_func
(x: Tensor, attn_bias=None)
dinov2/dinov2/layers/block.py:216
Methodfind_class_id
(self, class_index: int)
dinov2/dinov2/data/datasets/image_net_22k.py:202
Methodfind_class_id
(self, class_index: int)
dinov2/dinov2/data/datasets/image_net.py:112
Methodfind_class_name
(self, class_index: int)
dinov2/dinov2/data/datasets/image_net.py:116
Functionfix_random_seeds
Fix random seeds.
dinov2/dinov2/utils/utils.py:37
Methodflops
(self)
dinov2/dinov2/layers/patch_embed.py:84
Methodforward
(self, x)
iseg/coarse_mask_refine_util.py:19
Methodforward
(self, x)
iseg/coarse_mask_refine_util.py:34
Methodforward
(self, x)
iseg/coarse_mask_refine_util.py:58
Methodforward
(self, x, side_feature)
iseg/coarse_mask_refine_util.py:145
Methodforward
(self, x)
iseg/coarse_mask_refine_util.py:180
Methodforward
(self, x, side_feature)
iseg/coarse_mask_refine_util.py:200
Methodforward
(self, x)
iseg/coarse_mask_refine_util.py:236
Methodforward
(self, image, coarse_mask)
iseg/coarse_mask_refine_util.py:267
Methodforward
(self, model)
ldm/modules/ema.py:29
Methodforward
(self, x)
ldm/modules/attention.py:54
Methodforward
(self, x)
ldm/modules/attention.py:75
Methodforward
(self, x)
ldm/modules/attention.py:119
Methodforward
(self, x, context=None, mask=None)
ldm/modules/attention.py:163
Methodforward
(self, x, context=None, mask=None)
ldm/modules/attention.py:216
Methodforward
(self, x, context=None)
ldm/modules/attention.py:268
Methodforward
(self, x, context=None)
ldm/modules/attention.py:321
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:50
Methodforward
Apply the module to `x` given `emb` timestep embeddings.
ldm/modules/diffusionmodules/openaimodel.py:67
Methodforward
(self, x, emb, context=None)
ldm/modules/diffusionmodules/openaimodel.py:79
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:108
Methodforward
(self,x)
ldm/modules/diffusionmodules/openaimodel.py:129
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:157
Methodforward
Apply the block to a Tensor, conditioned on a timestep embedding. :param x: an [N x C x ...] Tensor of features. :param emb:
ldm/modules/diffusionmodules/openaimodel.py:242
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:313
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
ldm/modules/diffusionmodules/openaimodel.py:355
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
ldm/modules/diffusionmodules/openaimodel.py:387
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:754
Methodforward
(self, x)
ldm/modules/diffusionmodules/upscaling.py:49
Methodforward
(self, x)
ldm/modules/diffusionmodules/upscaling.py:62
Methodforward
(self, x, noise_level=None)
ldm/modules/diffusionmodules/upscaling.py:72
Methodforward
(ctx, run_function, length, *args)
ldm/modules/diffusionmodules/util.py:121
Methodforward
(self, x)
ldm/modules/diffusionmodules/util.py:218
Methodforward
(self, c_concat, c_crossattn)
ldm/modules/diffusionmodules/util.py:261
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:61
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:80
Methodforward
(self, x, temb)
ldm/modules/diffusionmodules/model.py:129
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:179
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:239
Methodforward
(self, x, context=None, mask=None)
ldm/modules/diffusionmodules/model.py:272
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:518
Methodforward
(self, z)
ldm/modules/diffusionmodules/model.py:619
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:678
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:725
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:764
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:789
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:806
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:825
Methodforward
(self, x, scale_factor=1.0)
ldm/modules/diffusionmodules/model.py:847
Methodforward
(self, x: torch.Tensor)
ldm/modules/encoders/modules.py:17
Methodforward
(self, x: torch.Tensor)
ldm/modules/encoders/modules.py:25
Methodforward
(self, batch, key=None, disable_dropout=False)
ldm/modules/encoders/modules.py:52
Methodforward
(self, text)
ldm/modules/encoders/modules.py:94
Methodforward
(self, text)
ldm/modules/encoders/modules.py:136
Methodforward
(self, text)
ldm/modules/encoders/modules.py:187
Methodforward
(self, text)
ldm/modules/encoders/modules.py:228
Methodforward
(self, image)
ldm/modules/encoders/modules.py:258
Methodforward
(self, image)
ldm/modules/encoders/modules.py:301
Methodforward
(self, x)
ldm/modules/midas/api.py:157
Methodforward
(self, x)
ldm/modules/midas/midas/vit.py:23
Methodforward
(self, x)
ldm/modules/midas/midas/vit.py:38
Methodforward
(self, x)
ldm/modules/midas/midas/vit.py:51
Methodforward
Forward pass. Args: x (tensor): input data (image) Returns: tensor: depth
ldm/modules/midas/midas/midas_net_custom.py:73
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: interpolated data
ldm/modules/midas/midas/blocks.py:138
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
ldm/modules/midas/midas/blocks.py:177
Methodforward
Forward pass. Returns: tensor: output
ldm/modules/midas/midas/blocks.py:209
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
ldm/modules/midas/midas/blocks.py:263
Methodforward
Forward pass. Returns: tensor: output
ldm/modules/midas/midas/blocks.py:320
Methodforward
Forward pass. Args: x (tensor): input data (image) Returns: tensor: depth
ldm/modules/midas/midas/midas_net.py:49
Methodforward
(self, x)
ldm/modules/midas/midas/dpt_depth.py:107
Methodforward
(self, input, sample_posterior=True)
ldm/models/autoencoder.py:93
Methodforward
(self, x, *args, **kwargs)
ldm/models/autoencoder.py:217
Methodforward
(self, x, *args, **kwargs)
ldm/models/diffusion/ddpm.py:413
Methodforward
(self, x, c, *args, **kwargs)
ldm/models/diffusion/ddpm.py:841
Methodforward
(self, x, t, c_concat: list = None, c_crossattn: list = None, c_adm=None)
ldm/models/diffusion/ddpm.py:1332
Methodforward
(self, x, timesteps=None, context=None, control=None, only_mid_control=False, **kwargs)
cldm/cldm.py:22
Methodforward
(self, x, hint, timesteps, context, **kwargs)
cldm/cldm.py:283
Methodforward
(self, x)
dinov2/hubconf.py:107
Methodforward
(self, x_tokens_list)
dinov2/dinov2/eval/linear.py:199
Methodforward
(self, inputs)
dinov2/dinov2/eval/linear.py:210
Methodforward
(self, samples, targets)
dinov2/dinov2/eval/linear.py:223
Methodforward
(self, samples, targets)
dinov2/dinov2/eval/log_regression.py:129
Methodforward
(self, samples)
dinov2/dinov2/eval/utils.py:27
Methodforward
(self, images)
dinov2/dinov2/eval/utils.py:39
Methodforward
Compute the results on all values of `self.nb_knn` neighbors from the full `self.max_k`
dinov2/dinov2/eval/knn.py:170
Methodforward
(self, features_dict, targets)
dinov2/dinov2/eval/knn.py:192
Methodforward
(self, *args, **kwargs)
dinov2/dinov2/eval/knn.py:241
Methodforward
(self, x)
dinov2/dinov2/layers/drop_path.py:34
Methodforward
(self, x_or_x_list)
dinov2/dinov2/layers/block.py:245
Methodforward
(self, x)
dinov2/dinov2/layers/dino_head.py:37
Methodforward
(self, x: Tensor)
dinov2/dinov2/layers/layer_scale.py:27
Methodforward
(self, x: Tensor, attn_bias=None)
dinov2/dinov2/layers/attention.py:66
Methodforward
(self, x: Tensor)
dinov2/dinov2/layers/mlp.py:35
Methodforward
(self, x: Tensor)
dinov2/dinov2/layers/swiglu_ffn.py:29
← previousnext →801–900 of 1,053, ranked by callers