MCPcopy Create free account

hub / github.com/LetterLiGo/SafeGen_CCS2024 / functions

Functions7,383 in github.com/LetterLiGo/SafeGen_CCS2024

↓ 1 callersMethod_get_variance
(self, t)
src/diffusers/schedulers/scheduling_repaint.py:227
↓ 1 callersMethod_get_variance
(self, timestep, prev_timestep=None)
src/diffusers/schedulers/scheduling_ddim_parallel.py:263
↓ 1 callersMethod_get_variance
(self, t, prev_timestep=None, predicted_variance=None, variance_type=None)
src/diffusers/schedulers/scheduling_unclip.py:180
↓ 1 callersMethod_get_variance
(self, state: DDIMSchedulerState, timestep, prev_timestep)
src/diffusers/schedulers/scheduling_ddim_flax.py:187
↓ 1 callersMethod_get_variance
(self, state: DDPMSchedulerState, t, predicted_variance=None, variance_type=None)
src/diffusers/schedulers/scheduling_ddpm_flax.py:162
↓ 1 callersMethod_get_variance
(self, timestep, prev_timestep)
src/diffusers/schedulers/scheduling_ddim.py:255
↓ 1 callersMethod_infer_batch_size
r"""Infers the batch size and multiplier depending on mode and supplied arguments to `__call__`.
src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:272
↓ 1 callersMethod_infer_mode
r""" Infer the generation task ('mode') from the inputs to `__call__`. If the mode has been manually set, the set mode will be used.
src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:189
↓ 1 callersMethod_init_step_index
(self, timestep)
src/diffusers/schedulers/scheduling_ipndm.py:95
↓ 1 callersMethod_init_step_index
(self, timestep)
src/diffusers/schedulers/scheduling_lcm.py:255
↓ 1 callersMethod_init_step_index
(self, timestep)
src/diffusers/schedulers/scheduling_deis_multistep.py:621
↓ 1 callersMethod_init_step_index
(self, timestep)
src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:765
↓ 1 callersMethod_init_step_index
(self, timestep)
src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:773
↓ 1 callersMethod_init_step_index
(self, timestep)
src/diffusers/schedulers/scheduling_unipc_multistep.py:699
↓ 1 callersMethod_init_step_index
(self, timestep)
src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:788
↓ 1 callersMethod_load_pretrained_model
( cls, model, state_dict: OrderedDict, resolved_archive_file, pretrain
src/diffusers/models/modeling_utils.py:918
↓ 1 callersFunction_load_state_dict_into_model
(model_to_load, state_dict: OrderedDict)
src/diffusers/models/modeling_utils.py:166
↓ 1 callersFunction_maybe_map_sgm_blocks_to_diffusers
(state_dict, unet_config, delimiter="_", block_slice_pos=5)
src/diffusers/loaders/lora_conversion_utils.py:23
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor, mean, std, a, b)
src/diffusers/pipelines/unidiffuser/modeling_uvit.py:20
↓ 1 callersFunction_p_generate
( pipe, prompt_ids, params, prng_seed, num_inference_steps, height, width, gui
src/diffusers/pipelines/stable_diffusion_xl/pipeline_flax_stable_diffusion_xl.py:284
↓ 1 callersFunction_p_generate
( pipe, prompt_ids, image, params, prng_seed, num_inference_steps, guidance_scale,
src/diffusers/pipelines/controlnet/pipeline_flax_controlnet.py:488
↓ 1 callersFunction_p_generate
( pipe, prompt_ids, mask, masked_image, params, prng_seed, num_inference_steps,
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py:532
↓ 1 callersFunction_p_generate
( pipe, prompt_ids, image, params, prng_seed, start_timestep, num_inference_steps,
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:485
↓ 1 callersFunction_p_generate
( pipe, prompt_ids, params, prng_seed, num_inference_steps, height, width, gui
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py:439
↓ 1 callersFunction_p_get_has_nsfw_concepts
(pipe, features, params)
src/diffusers/pipelines/controlnet/pipeline_flax_controlnet.py:514
↓ 1 callersFunction_p_get_has_nsfw_concepts
(pipe, features, params)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py:562
↓ 1 callersFunction_p_get_has_nsfw_concepts
(pipe, features, params)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:515
↓ 1 callersFunction_p_get_has_nsfw_concepts
(pipe, features, params)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py:465
↓ 1 callersMethod_perform_iterative_refinement_step
Performs the iterative latent refinement introduced in the paper. Here, we continuously update the latent code according to our loss
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_attend_and_excite.py:664
↓ 1 callersFunction_preprocess_image
(image: Union[List, PIL.Image.Image, torch.Tensor])
src/diffusers/pipelines/repaint/pipeline_repaint.py:33
↓ 1 callersFunction_preprocess_mask
(mask: Union[List, PIL.Image.Image, torch.Tensor])
src/diffusers/pipelines/repaint/pipeline_repaint.py:56
↓ 1 callersMethod_process_embeds
(self, embeddings, attention_mask, cut_context)
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py:109
↓ 1 callersFunction_query_chunk_attention
Multi-head dot product attention with a limited number of queries.
src/diffusers/models/attention_flax.py:23
↓ 1 callersFunction_resize_with_antialiasing
(input, size, interpolation="bicubic", align_corners=True)
src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py:545
↓ 1 callersMethod_retrieve_tokens_and_embeddings
(tokens, state_dicts, tokenizer)
src/diffusers/loaders/textual_inversion.py:203
↓ 1 callersMethod_revert_dual_attention
Revert the image_unet `DualTransformer2DModel` blocks back to `Transformer2DModel` with image_unet weights Call this function if you
src/diffusers/pipelines/versatile_diffusion/pipeline_versatile_diffusion_dual_guided.py:143
↓ 1 callersMethod_run_safety_checker
(self, images, safety_model_params, jit=False)
src/diffusers/pipelines/controlnet/pipeline_flax_controlnet.py:209
↓ 1 callersMethod_run_safety_checker
(self, images, safety_model_params, jit=False)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py:237
↓ 1 callersMethod_run_safety_checker
(self, images, safety_model_params, jit=False)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:195
↓ 1 callersMethod_run_safety_checker
(self, images, safety_model_params, jit=False)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py:184
↓ 1 callersMethod_save_pretrained
Save a model and its configuration file to a directory, so that it can be re-loaded using the [`~optimum.onnxruntime.modeling_ort.ORT
src/diffusers/pipelines/onnx_utils.py:79
↓ 1 callersMethod_second_order_timesteps
(self, sigmas, log_sigmas)
src/diffusers/schedulers/scheduling_dpmsolver_sde.py:356
↓ 1 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
src/diffusers/schedulers/scheduling_lms_discrete.py:304
↓ 1 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
src/diffusers/schedulers/scheduling_deis_multistep.py:293
↓ 1 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:328
↓ 1 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
src/diffusers/schedulers/scheduling_euler_discrete.py:294
↓ 1 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
src/diffusers/schedulers/scheduling_unipc_multistep.py:307
↓ 1 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:327
↓ 1 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
src/diffusers/schedulers/scheduling_heun_discrete.py:279
↓ 1 callersMethod_temp_convert_self_to_deprecated_attention_blocks
(self)
src/diffusers/models/modeling_utils.py:1118
↓ 1 callersMethod_test_if
(self, pipe_1, pipe_2, prompt_embeds, negative_prompt_embeds)
tests/pipelines/deepfloyd_if/test_if.py:162
↓ 1 callersMethod_test_if_img2img
(self, pipe_1, pipe_2, prompt_embeds, negative_prompt_embeds)
tests/pipelines/deepfloyd_if/test_if.py:217
↓ 1 callersMethod_test_if_inpainting
(self, pipe_1, pipe_2, prompt_embeds, negative_prompt_embeds)
tests/pipelines/deepfloyd_if/test_if.py:278
↓ 1 callersMethod_test_pt_np_pil_outputs_equivalent
(self, expected_max_diff=1e-4, input_image_type="pt")
tests/pipelines/test_pipelines_common.py:122
↓ 1 callersMethod_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
src/diffusers/schedulers/scheduling_ddpm.py:320
↓ 1 callersMethod_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
src/diffusers/schedulers/scheduling_lcm.py:293
↓ 1 callersMethod_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
src/diffusers/schedulers/scheduling_deis_multistep.py:259
↓ 1 callersMethod_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
src/diffusers/schedulers/scheduling_unipc_multistep.py:273
↓ 1 callersMethod_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
src/diffusers/schedulers/scheduling_ddim.py:266
↓ 1 callersMethod_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:293
↓ 1 callersMethod_undo_temp_convert_self_to_deprecated_attention_blocks
(self)
src/diffusers/models/modeling_utils.py:1145
↓ 1 callersMethod_up_decode
(self, level_outputs, r_embed, effnet, clip=None)
src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_diffnext.py:186
↓ 1 callersMethodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_ddpm.py:453
↓ 1 callersMethodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
src/diffusers/schedulers/scheduling_ddim.py:473
↓ 1 callersMethodadd_noise_to_input
Explicit Langevin-like "churn" step of adding noise to the sample according to a factor gamma_i ≥ 0 to reach a higher noise level sig
src/diffusers/schedulers/scheduling_karras_ve_flax.py:138
↓ 1 callersMethodaggregate_attention
Aggregates the attention across the different layers and heads at the specified resolution.
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_attend_and_excite.py:105
↓ 1 callersFunctionalpha_schedules
Cumulative and non-cumulative alpha schedules. See section 4.1.
src/diffusers/schedulers/scheduling_vq_diffusion.py:72
↓ 1 callersFunctionalpha_sigma_to_t
Returns a timestep, given the scaling factors for the clean image and for the noise.
scripts/convert_dance_diffusion_to_diffusers.py:49
↓ 1 callersFunctionanalyze_results
Analyze the differences between _import_structure objects and TYPE_CHECKING objects found in an init.
utils/check_inits.py:190
↓ 1 callersMethodapply_cumulative_transitions
(self, q, t)
src/diffusers/schedulers/scheduling_vq_diffusion.py:455
↓ 1 callersMethodaudio_slice_to_image
Convert slice of audio to spectrogram. Args: slice (`int`): Slice number of audio to convert (out of `get_number_
src/diffusers/pipelines/audio_diffusion/mel.py:143
↓ 1 callersFunctionaudio_to_frames
Convert audio samples to non-overlapping frames and frame times.
src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:279
↓ 1 callersFunctionauto_corr_loss
(hidden_states, generator=None)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_diffedit.py:141
↓ 1 callersMethodauto_corr_loss
(self, hidden_states, generator=None)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_pix2pix_zero.py:790
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_pndm.py:28
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_lms_discrete.py:48
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_ddpm.py:48
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_dpmsolver_sde.py:80
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_repaint.py:47
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:28
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_ddim_parallel.py:51
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_unclip.py:48
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_lcm.py:53
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:51
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_deis_multistep.py:30
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:27
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_consistency_decoder.py:14
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:30
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_euler_discrete.py:51
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:30
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_unipc_multistep.py:30
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_utils_flax.py:194
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_ddim.py:51
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_ddpm_parallel.py:50
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_ddim_inverse.py:49
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:32
↓ 1 callersFunctionbetas_for_alpha_bar
(num_diffusion_timesteps, alpha_bar, max_beta=0.999)
scripts/convert_consistency_decoder.py:33
↓ 1 callersMethodbetween_steps
(self)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_attend_and_excite.py:97
↓ 1 callersMethodblend_h
(self, a: torch.Tensor, b: torch.Tensor, blend_extent: int)
src/diffusers/models/consistency_decoder_vae.py:344
↓ 1 callersMethodblend_v
(self, a: torch.Tensor, b: torch.Tensor, blend_extent: int)
src/diffusers/models/consistency_decoder_vae.py:337
← previousnext →1,201–1,300 of 7,383, ranked by callers