MCPcopy Create free account

hub / github.com/LetterLiGo/SafeGen_CCS2024 / functions

Functions7,383 in github.com/LetterLiGo/SafeGen_CCS2024

↓ 1 callersMethodtearDown
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion.py:304
↓ 1 callersMethodtearDown
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_v_pred.py:48
↓ 1 callersMethodtearDown
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_flax.py:72
↓ 1 callersMethodtearDown
(self)
tests/pipelines/audioldm/test_audioldm.py:374
↓ 1 callersMethodtearDown
(self)
tests/pipelines/unidiffuser/test_unidiffuser.py:577
↓ 1 callersMethodtearDown
(self)
tests/pipelines/vq_diffusion/test_vq_diffusion.py:32
↓ 1 callersMethodtearDown
(self)
tests/pipelines/altdiffusion/test_alt_diffusion_img2img.py:50
↓ 1 callersMethodtearDown
(self)
tests/pipelines/controlnet/test_controlnet.py:644
↓ 1 callersMethodtearDown
(self)
tests/pipelines/audio_diffusion/test_audio_diffusion.py:39
↓ 1 callersMethodtearDown
(self)
tests/pipelines/semantic_stable_diffusion/test_semantic_diffusion.py:40
↓ 1 callersMethodtearDown
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py:327
↓ 1 callersMethodtearDown
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_ldm3d.py:255
↓ 1 callersMethodtearDown
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_image_variation.py:167
↓ 1 callersMethodtearDown
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:1142
↓ 1 callersMethodtearDown
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_pix2pix_zero.py:492
↓ 1 callersMethodtearDown
(self)
tests/pipelines/kandinsky/test_kandinsky_img2img.py:362
↓ 1 callersMethodtearDownClass
(cls)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_attend_and_excite.py:64
↓ 1 callersFunctiontensor2vid
(video: torch.Tensor, processor, output_type="np")
src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py:43
↓ 1 callersFunctiontensor2vid
(video: torch.Tensor, mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py:61
↓ 1 callersFunctiontensor2vid
(video: torch.Tensor, mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py:96
↓ 1 callersFunctiontensor2vid
(video: torch.Tensor, processor, output_type="np")
src/diffusers/pipelines/animatediff/pipeline_animatediff.py:60
↓ 1 callersMethodtest_attention_slicing_forward_pass
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:250
↓ 1 callersMethodtest_determinism
(self)
tests/models/test_models_unet_1d.py:55
↓ 1 callersMethodtest_from_save_pretrained
(self)
tests/models/test_models_unet_1d.py:61
↓ 1 callersMethodtest_from_save_pretrained_variant
(self)
tests/models/test_models_unet_1d.py:64
↓ 1 callersMethodtest_inference_batch_single_identical
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:253
↓ 1 callersMethodtest_inference_batch_single_identical
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_inpaint.py:241
↓ 1 callersMethodtest_model_from_pretrained
(self)
tests/models/test_models_unet_1d.py:67
↓ 1 callersMethodtest_outputs_equivalence
(self)
tests/models/test_models_unet_1d.py:58
↓ 1 callersMethodtest_save_load_optional_components
(self)
tests/pipelines/kandinsky/test_kandinsky_combined.py:248
↓ 1 callersFunctiontext_proj_from_original_config
()
scripts/convert_kakao_brain_unclip_to_diffusers.py:330
↓ 1 callersFunctiontext_proj_original_checkpoint_to_diffusers_checkpoint
(checkpoint)
scripts/convert_kakao_brain_unclip_to_diffusers.py:343
↓ 1 callersMethodtext_to_image
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`): The prompt or
src/diffusers/pipelines/versatile_diffusion/pipeline_versatile_diffusion.py:194
↓ 1 callersMethodtiled_decode
r""" Decode a batch of images using a tiled decoder. Args: z (`torch.FloatTensor`): Input batch of latent vectors.
src/diffusers/models/autoencoder_kl.py:376
↓ 1 callersMethodtiled_encode
r"""Encode a batch of images using a tiled encoder. When this option is enabled, the VAE will split the input tensor into tiles to compute en
src/diffusers/models/autoencoder_kl.py:322
↓ 1 callersMethodtiled_encode
r"""Encode a batch of images using a tiled encoder. When this option is enabled, the VAE will split the input tensor into tiles to compute en
src/diffusers/models/consistency_decoder_vae.py:350
↓ 1 callersMethodto_json_file
Save the configuration instance's parameters to a JSON file. Args: json_file_path (`str` or `os.PathLike`):
src/diffusers/configuration_utils.py:588
↓ 1 callersMethodtoken_drop
Drops labels to enable classifier-free guidance.
src/diffusers/models/embeddings.py:394
↓ 1 callersFunctiontokenize_captions
(examples, is_train=True)
examples/text_to_image/train_text_to_image_adjust_sal.py:789
↓ 1 callersFunctiontokenize_captions
(examples, is_train=True)
examples/text_to_image/train_text_to_image.py:731
↓ 1 callersFunctiontransform_conv_attns
(new_state_dict, new_k, v)
scripts/convert_dance_diffusion_to_diffusers.py:232
↓ 1 callersFunctiontransformer_feedforward_to_diffusers_checkpoint
(checkpoint, *, diffusers_feedforward_prefix, feedforward_prefix)
scripts/convert_vq_diffusion_to_diffusers.py:678
↓ 1 callersFunctiontransformer_model_from_original_config
( original_diffusion_config, original_transformer_config, original_content_embedding_config )
scripts/convert_vq_diffusion_to_diffusers.py:471
↓ 1 callersFunctiontransformer_original_checkpoint_to_diffusers_checkpoint
(model, checkpoint)
scripts/convert_vq_diffusion_to_diffusers.py:537
↓ 1 callersFunctiontrunc_normal_
r"""Fills the input Tensor with values drawn from a truncated normal distribution. The values are effectively drawn from the normal distribution :
src/diffusers/pipelines/unidiffuser/modeling_uvit.py:57
↓ 1 callersMethodtruncate
Truncates `log_p_x_0` such that for each column vector, the total cumulative probability is `truncation_rate` The lowest probabilitie
src/diffusers/pipelines/vq_diffusion/pipeline_vq_diffusion.py:304
↓ 1 callersMethodundo_step
(self, sample, timestep, generator=None)
src/diffusers/schedulers/scheduling_repaint.py:335
↓ 1 callersFunctionunet_model_from_original_config
()
scripts/convert_kandinsky_to_diffusers.py:281
↓ 1 callersFunctionunet_model_from_original_config
(original_config)
scripts/convert_k_upscaler_to_diffusers.py:217
↓ 1 callersFunctionunet_original_checkpoint_to_diffusers_checkpoint
(model, checkpoint)
scripts/convert_kandinsky_to_diffusers.py:287
↓ 1 callersFunctionunet_to_diffusers_checkpoint
(model, checkpoint)
scripts/convert_k_upscaler_to_diffusers.py:175
↓ 1 callersMethodunmap_to_all
(self, inds: torch.LongTensor)
src/diffusers/models/vae.py:703
↓ 1 callersMethodunscale_latents
[0, 1] -> raw latents
src/diffusers/models/autoencoder_tiny.py:162
↓ 1 callersFunctionunshard
(x: jnp.ndarray)
src/diffusers/pipelines/controlnet/pipeline_flax_controlnet.py:518
↓ 1 callersFunctionunshard
(x: jnp.ndarray)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py:566
↓ 1 callersFunctionunshard
(x: jnp.ndarray)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:519
↓ 1 callersFunctionunshard
(x: jnp.ndarray)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py:469
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:674
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:809
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:1029
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py:987
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py:920
↓ 1 callersMethodupcast_vae
(self)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py:508
↓ 1 callersMethodupdate
(self, *args, **kwargs)
src/diffusers/configuration_utils.py:68
↓ 1 callersFunctionupdate_version_in_examples
Update the version in all examples files.
utils/release.py:48
↓ 1 callersFunctionupsample_2d
r"""Upsample2D a batch of 2D images with the given filter. Accepts a batch of 2D images of the shape `[N, C, H, W]` or `[N, H, W, C]` and upsample
src/diffusers/models/resnet.py:897
↓ 1 callersFunctionvae_pt_to_vae_diffuser
( checkpoint_path: str, output_path: str, )
scripts/convert_vae_pt_to_diffusers.py:119
↓ 1 callersFunctionvelocity_to_bin
(velocity, num_velocity_bins)
src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:343
↓ 1 callersFunctionverify_param_count
(orig_path, unet_diffusers_config)
scripts/convert_if.py:1126
↓ 1 callersFunctionvisual_encoder_from_original_checkpoint
(model, diffuser_prefix, original_prefix)
scripts/convert_blipdiffusion_to_diffusers.py:233
↓ 1 callersFunctionvisual_encoder_layer_from_original_checkpoint
(model, diffuser_prefix, original_prefix)
scripts/convert_blipdiffusion_to_diffusers.py:206
↓ 1 callersFunctionvolume_query_points
(volume, grid_size)
src/diffusers/pipelines/shap_e/renderer.py:119
↓ 1 callersFunctionvqvae_decoder_to_diffusers_checkpoint
(model, checkpoint)
scripts/convert_vq_diffusion_to_diffusers.py:310
↓ 1 callersFunctionvqvae_encoder_to_diffusers_checkpoint
(model, checkpoint)
scripts/convert_vq_diffusion_to_diffusers.py:210
↓ 1 callersFunctionvqvae_model_from_original_config
(original_config)
scripts/convert_vq_diffusion_to_diffusers.py:61
↓ 1 callersFunctionvqvae_original_checkpoint_to_diffusers_checkpoint
(model, checkpoint)
scripts/convert_vq_diffusion_to_diffusers.py:179
↓ 1 callersFunctionwarn_deprecated_model_variant
(pretrained_model_name_or_path, use_auth_token, variant, revision, model_filenames)
src/diffusers/pipelines/pipeline_utils.py:252
↓ 1 callersFunctionwarp_single_latent
Warp latent of a single frame with given flow Args: latent: latent code of a single frame reference_flow: flow which to warp
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:209
↓ 1 callersFunctionwarp_single_latent
Warp latent of a single frame with given flow Args: latent: latent code of a single frame reference_flow: flow which to warp
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:199
Method__call__
(self, *args, **kwargs)
src/diffusers/utils/logging.py:305
Method__call__
(self, **kwargs)
src/diffusers/pipelines/onnx_utils.py:58
Method__call__
Function invoked when calling the pipeline for generation. Args: prompt (`List[str]`): The prompt or pro
src/diffusers/pipelines/blip_diffusion/pipeline_blip_diffusion.py:188
Method__call__
( self, prompt_ids: jax.Array, params: Union[Dict, FrozenDict], prng_seed: jax
src/diffusers/pipelines/stable_diffusion_xl/pipeline_flax_stable_diffusion_xl.py:88
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:783
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:922
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py:652
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:1142
Method__call__
r""" The call function to the pipeline for generation. Args: image (`torch.Tensor` or `PIL.Image.Image`):
src/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion_superresolution.py:68
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`): The prompt or
src/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion.py:68
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`): The prompt or
src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py:471
Method__call__
The call function to the pipeline for generation. Args: image (`PIL.Image.Image` or `List[PIL.Image.Image]` or `torch.Fl
src/diffusers/pipelines/unclip/pipeline_unclip_image_variation.py:200
Method__call__
The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`): The prompt or pro
src/diffusers/pipelines/unclip/pipeline_unclip.py:212
Method__call__
r""" The call function to the pipeline for generation. Args: batch_size (`int`, *optional*, defaults to 1):
src/diffusers/pipelines/ddpm/pipeline_ddpm.py:46
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/musicldm/pipeline_musicldm.py:436
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/audioldm/pipeline_audioldm.py:369
Method__call__
r""" The call function to the pipeline for generation. Args: image (`PIL.Image.Image` or `List[PIL.Image.Image]` or `torc
src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py:300
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:1080
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py:518
Method__call__
(self, attn, hidden_states, encoder_hidden_states=None, attention_mask=None)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:64
Method__call__
(self, attn, hidden_states, encoder_hidden_states=None, attention_mask=None)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:126
← previousnext →2,301–2,400 of 7,383, ranked by callers