MCPcopy Create free account

hub / github.com/TencentARC/AnimeGamer / functions

Functions1,003 in github.com/TencentARC/AnimeGamer

Methodforward
(self, hidden_states, mask, *args, **kw_args)
VDM_Decoder/sgm/models/sat_ours/transformer.py:113
Methodforward
(self, hidden_states, cross_attention_mask, encoder_outputs, **kw_args)
VDM_Decoder/sgm/models/sat_ours/transformer.py:193
Methodforward
(self, hidden_states, **kw_args)
VDM_Decoder/sgm/models/sat_ours/transformer.py:308
Methodforward
(self, hidden_states, mask, *args, **kw_args)
VDM_Decoder/sgm/models/sat_ours/transformer.py:437
Methodforward
(self, input_ids, position_ids, attention_mask, *, output_hidden_states=False, **kw_args)
VDM_Decoder/sgm/models/sat_ours/transformer.py:582
Methodforward
(self, input)
VDM_Decoder/vae_modules/utils.py:73
Methodforward
(ctx, run_function, length, *args)
VDM_Decoder/vae_modules/utils.py:375
Methodforward
(ctx, input_, dim, kernel_size)
VDM_Decoder/vae_modules/cp_enc_dec.py:298
Methodforward
(ctx, input_, dim, kernel_size)
VDM_Decoder/vae_modules/cp_enc_dec.py:310
Methodforward
(ctx, input_, dim, kernel_size)
VDM_Decoder/vae_modules/cp_enc_dec.py:322
Methodforward
(ctx, input_, dim, kernel_size, cache_padding)
VDM_Decoder/vae_modules/cp_enc_dec.py:334
Methodforward
(self, input_, clear_cache=True)
VDM_Decoder/vae_modules/cp_enc_dec.py:384
Methodforward
(self, input_)
VDM_Decoder/vae_modules/cp_enc_dec.py:434
Methodforward
(self, f, zq, clear_fake_cp_cache=True)
VDM_Decoder/vae_modules/cp_enc_dec.py:491
Methodforward
(self, x)
VDM_Decoder/vae_modules/cp_enc_dec.py:582
Methodforward
(self, x, temb, zq=None, clear_fake_cp_cache=True)
VDM_Decoder/vae_modules/cp_enc_dec.py:676
Methodforward
(self, x, **kwargs)
VDM_Decoder/vae_modules/cp_enc_dec.py:810
Methodforward
(self, z, clear_fake_cp_cache=True, **kwargs)
VDM_Decoder/vae_modules/cp_enc_dec.py:951
Methodforward
(self, x: torch.Tensor, **additional_decode_kwargs)
VDM_Decoder/vae_modules/autoencoder.py:236
Methodforward
( self, x: torch.Tensor, input_cp: bool = False, latent_cp: bool = False,
VDM_Decoder/vae_modules/autoencoder.py:641
Methodforward
(self, z: torch.Tensor)
VDM_Decoder/vae_modules/regularizers.py:64
Methodforward
(self, z: torch.Tensor)
VDM_Decoder/vae_modules/regularizers.py:73
Methodforward
(self, z: torch.Tensor)
VDM_Decoder/vae_modules/regularizers.py:98
Methodforward
(self, input_ids, attention_mask, labels, video_embeds, embeds_gen_mask, embeds_cmp_mask, ids_gen_mask,
MLLM/src/models_clm/models.py:296
Methodforward
(self, x)
MLLM/src/models/vit.py:34
Methodforward
(self, x, mask=None, register_hook=False)
MLLM/src/models/vit.py:90
Methodforward
(self, c, mask=None, register_hook=False)
MLLM/src/models/vit.py:170
Methodforward
(self, image_embeds)
MLLM/src/models/discrete_models.py:29
Methodforward
(self, hidden_states)
MLLM/src/models/mistral/modeling_mistral.py:90
Methodforward
(self, x, seq_len=None)
MLLM/src/models/mistral/modeling_mistral.py:125
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
MLLM/src/models/mistral/modeling_mistral.py:248
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
MLLM/src/models/mistral/modeling_mistral.py:341
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
MLLM/src/models/mistral/modeling_mistral.py:605
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
MLLM/src/models/mistral/modeling_mistral.py:696
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
MLLM/src/models/mistral/modeling_mistral.py:886
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
MLLM/src/models/mistral/modeling_mistral.py:1074
Methodforward_with_features_output
(self, z, zq)
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_modules.py:325
Methodforward_with_features_output
(self, x)
VDM_Decoder/sgm/modules/autoencoding/vqvae/vqvae_blocks.py:256
Methodfrom_pretrained
(cls, name, args=None, *, home_path=None, url=None, prefix='', build_only=False, use_node_group=True, overwrit
VDM_Decoder/sgm/models/sat_ours/base_model.py:207
Methodget_attention_map
(self)
MLLM/src/models/vit.py:86
Methodget_attn_gradients
(self)
MLLM/src/models/vit.py:78
Methodget_autoencoder_params
(self)
VDM_Decoder/vae_modules/autoencoder.py:460
Functionget_batch
(keys, value_dict, N: Union[List, ListConfig], T=None, device="cuda")
inference_Decoder.py:95
Methodget_codebook_entry
(self, indices: torch.Tensor, shape: Optional[Tuple[int, ...]] = None)
VDM_Decoder/sgm/modules/autoencoding/regularizers/quantize.py:53
Methodget_codebook_entry
(self, indices, shape)
VDM_Decoder/sgm/modules/autoencoding/regularizers/quantize.py:151
Methodget_codebook_entry
(self, indices: torch.Tensor, shape: Optional[Tuple[int, ...]] = None)
VDM_Decoder/sgm/modules/autoencoding/regularizers/quantize.py:278
Methodget_codebook_entry
(self, indices, shape)
VDM_Decoder/sgm/modules/autoencoding/vqvae/quantize.py:111
Methodget_codebook_entry
(self, indices, shape)
VDM_Decoder/sgm/modules/autoencoding/vqvae/quantize.py:233
Functionget_configs_path
Get the `configs` directory. For a working copy, this is the one in the root of the repository, but for an installed copy, it's in the `s
VDM_Decoder/sgm/util.py:317
Functionget_configs_path
Get the `configs` directory. For a working copy, this is the one in the root of the repository, but for an installed copy, it's in the `s
VDM_Decoder/vae_modules/utils.py:311
Functionget_context_parallel_group
()
VDM_Decoder/sgm/util.py:50
Functionget_context_parallel_group_rank
()
VDM_Decoder/sgm/util.py:70
Functionget_context_parallel_rank
()
VDM_Decoder/sgm/util.py:62
Functionget_context_parallel_world_size
()
VDM_Decoder/sgm/util.py:56
Methodget_decoder
(self)
MLLM/src/models/mistral/modeling_mistral.py:1069
Methodget_input
(self, batch)
VDM_Decoder/vae_modules/autoencoder.py:89
Methodget_input
(self, x: Any)
VDM_Decoder/vae_modules/autoencoder.py:516
Methodget_input
(self, batch: dict)
VDM_Decoder/vae_modules/autoencoder.py:544
Methodget_input_embeddings
(self)
MLLM/src/models/mistral/modeling_mistral.py:1054
Methodget_last_layer
(self)
VDM_Decoder/sgm/modules/video_attention.py:136
Methodget_last_layer
(self)
VDM_Decoder/sgm/modules/diffusionmodules/model.py:428
Methodget_last_layer
(self, **kwargs)
VDM_Decoder/sgm/modules/diffusionmodules/model.py:647
Methodget_last_layer
(self, skip_time_mix=False, **kwargs)
VDM_Decoder/sgm/modules/autoencoding/temporal_ae.py:300
Methodget_last_layer
(self)
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_dec_3d.py:333
Methodget_last_layer
(self)
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_dec_3d.py:494
Methodget_last_layer
(self)
VDM_Decoder/vae_modules/cp_enc_dec.py:986
Methodget_layer
(layer_id)
VDM_Decoder/sgm/models/sat_ours/transformer.py:541
Methodget_mixin
(self, name)
VDM_Decoder/sgm/models/sat_ours/base_model.py:122
Functionget_nested_attribute
Will return the result of a recursive get attribute call. E.g.: a.b.c = getattr(getattr(a, "b"), "c") = get_nested_at
VDM_Decoder/sgm/util.py:335
Functionget_nested_attribute
Will return the result of a recursive get attribute call. E.g.: a.b.c = getattr(getattr(a, "b"), "c") = get_nested_at
VDM_Decoder/vae_modules/utils.py:329
Methodget_sigmas
(self, n, device="cpu")
VDM_Decoder/sgm/modules/diffusionmodules/discretizer.py:38
Methodget_sigmas
(self, n, device="cpu")
VDM_Decoder/sgm/modules/diffusionmodules/discretizer.py:60
Methodget_sigmas
(self, n, device="cpu", return_idx=False)
VDM_Decoder/sgm/modules/diffusionmodules/discretizer.py:100
Functionget_string_from_tuple
(s)
VDM_Decoder/sgm/util.py:108
Functionget_string_from_tuple
(s)
VDM_Decoder/vae_modules/utils.py:102
Functionget_timestep_embedding
This matches the implementation in Denoising Diffusion Probabilistic Models: From Fairseq. Build sinusoidal embeddings. This matches
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_modules.py:8
Functionget_timestep_embedding
This matches the implementation in Denoising Diffusion Probabilistic Models: From Fairseq. Build sinusoidal embeddings. This matches
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_dec_3d.py:22
Functionget_timestep_embedding
This matches the implementation in Denoising Diffusion Probabilistic Models: From Fairseq. Build sinusoidal embeddings. This matches
VDM_Decoder/sgm/modules/autoencoding/vqvae/vqvae_blocks.py:8
Functionget_timestep_embedding
This matches the implementation in Denoising Diffusion Probabilistic Models: From Fairseq. Build sinusoidal embeddings. This matches
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_enc_3d.py:25
Functionget_timestep_embedding
This matches the implementation in Denoising Diffusion Probabilistic Models: From Fairseq. Build sinusoidal embeddings. This matches
VDM_Decoder/vae_modules/cp_enc_dec.py:46
Methodget_trainable_parameters
(self)
VDM_Decoder/sgm/modules/autoencoding/regularizers/base.py:17
Methodget_trainable_parameters
(self)
VDM_Decoder/sgm/modules/autoencoding/regularizers/base.py:25
Methodget_trainable_parameters
(self)
VDM_Decoder/sgm/modules/autoencoding/regularizers/__init__.py:17
Methodget_trainable_parameters
(self)
VDM_Decoder/sgm/modules/autoencoding/regularizers/quantize.py:56
Methodget_trainable_parameters
(self)
VDM_Decoder/sgm/modules/autoencoding/losses/video_loss.py:560
Methodget_trainable_parameters
(self)
VDM_Decoder/sgm/modules/autoencoding/losses/discriminator_loss.py:81
Methodget_trainable_parameters
(self)
VDM_Decoder/vae_modules/regularizers.py:76
Methodget_trainable_parameters
(self)
VDM_Decoder/vae_modules/regularizers.py:95
Methodget_unconditional_conditioning
(self, batch_c, batch_uc=None, force_uc_zero_embeddings=None)
VDM_Decoder/sgm/modules/encoders/modules.py:211
Functionget_unique_embedder_keys_from_conditioner
(conditioner)
inference_Decoder.py:91
Functiongmm_check_params
(means, variances, weights)
MLLM/src/models_clm/models.py:32
Functiongmm_params_to_predictions
(params, k, do_sample=False, var_scale=1.0, weighted_sample=False)
MLLM/src/models_clm/models.py:127
Functiongopen_boto3
Open a URL with boto3 API. :param url: boto3 url, e.g. boto3://bucket1/foo.tar. data should be configured. :param mode: file mode :param
VDM_Decoder/sgm/webds.py:342
Functiongopen_rclone
Open a URL with `curl`. :param url: rclone url, e.g. data:bucket1/foo.tar. data should be configured. :param mode: file mode :param bufsi
VDM_Decoder/sgm/webds.py:312
Functionhinge_d_loss
(logits_real, logits_fake)
VDM_Decoder/sgm/modules/autoencoding/lpips/vqperceptual.py:5
Functionidentity
(t, *args, **kwargs)
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:60
Functioninit_
(tensor)
VDM_Decoder/sgm/modules/attention.py:74
Methodinit_and_load_from
(cls, path, strict=True)
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:1312
Functioninner
(self, *args, **kwargs)
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:158
Methodinput_key
(self)
VDM_Decoder/sgm/modules/encoders/modules.py:45
← previousnext →801–900 of 1,003, ranked by callers