MCPcopy Create free account

hub / github.com/LetterLiGo/SafeGen_CCS2024 / functions

Functions7,383 in github.com/LetterLiGo/SafeGen_CCS2024

Methodoutput_shape
(self)
tests/lora/test_lora_layers_old_backend.py:1418
Methodoutput_shape
(self)
tests/lora/test_lora_layers_old_backend.py:1668
Methodoutput_shape
(self)
tests/models/test_models_unet_2d.py:60
Methodoutput_shape
(self)
tests/models/test_models_unet_2d.py:128
Methodoutput_shape
(self)
tests/models/test_models_unet_2d.py:242
Methodoutput_shape
(self)
tests/models/test_models_unet_1d.py:46
Methodoutput_shape
(self)
tests/models/test_models_unet_1d.py:169
Methodoutput_shape
(self)
tests/models/test_models_prior.py:77
Methodoutput_shape
(self)
tests/models/test_models_unet_motion.py:63
Methodoutput_shape
(self)
tests/models/test_models_unet_2d_condition.py:170
Methodoutput_shape
(self)
tests/models/test_unet_blocks_common.py:31
Methodoutput_shape
(self)
tests/models/test_models_unet_spatiotemporal.py:66
Methodoutput_shape
(self)
tests/models/test_models_vae.py:146
Methodoutput_shape
(self)
tests/models/test_models_vae.py:303
Methodoutput_shape
(self)
tests/models/test_models_vae.py:338
Methodoutput_shape
(self)
tests/models/test_models_vae.py:369
Methodoutput_shape
(self)
tests/models/test_models_vae.py:409
Methodoutput_shape
(self)
tests/models/test_models_unet_3d_condition.py:57
Methodoutput_shape
(self)
tests/models/test_models_vq.py:47
Methodpack_weights
(layers, prefix)
src/diffusers/loaders/lora.py:810
Methodpack_weights
(layers, prefix)
src/diffusers/loaders/lora.py:1368
Methodparams
(self)
tests/pipelines/test_pipelines_common.py:310
Functionparse_bool
(string)
scripts/convert_original_controlnet_to_diffusers.py:80
Methodperform_safety_guidance
( self, enable_safety_guidance, safety_momentum, noise_guidance, noise
src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py:428
Methodpostprocess
Postprocess the image output from tensor to `output_type`. Args: image (`torch.FloatTensor`): The image
src/diffusers/image_processor.py:496
Methodprepare_extra_step_kwargs
(self, generator, eta)
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py:311
Functionprepare_image
(image)
src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py:108
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_models_unet_2d.py:131
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_models_unet_2d.py:245
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_models_unet_1d.py:73
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_models_vae_flax.py:29
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_unet_2d_blocks.py:54
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_unet_2d_blocks.py:72
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_unet_2d_blocks.py:117
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_unet_2d_blocks.py:138
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_unet_2d_blocks.py:172
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_unet_2d_blocks.py:190
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_unet_2d_blocks.py:234
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_unet_2d_blocks.py:252
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_unet_2d_blocks.py:310
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_unet_2d_blocks.py:329
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_models_vae.py:306
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_models_vae.py:341
Methodprepare_init_args_and_inputs_for_common
(self)
tests/models/test_models_vae.py:376
Methodprepare_inputs
(self, prompt: Union[str, List[str]])
src/diffusers/pipelines/stable_diffusion_xl/pipeline_flax_stable_diffusion_xl.py:70
Methodprepare_inputs
( self, prompt: Union[str, List[str]], image: Union[Image.Image, List[Image.Image]],
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py:194
Methodprepare_inputs
(self, prompt: Union[str, List[str]], image: Union[Image.Image, List[Image.Image]])
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:170
Methodprepare_latents
(self, batch_size, num_channels_latents, height, width, dtype, device, generator, latents=None)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_diffedit.py:774
Functionprepare_mask_and_masked_image
Prepares a pair (image, mask) to be consumed by the Stable Diffusion pipeline. This means that those inputs will be converted to ``torch.Tens
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:134
Functionprepare_mask_and_masked_image
Prepares a pair (image, mask) to be consumed by the Stable Diffusion pipeline. This means that those inputs will be converted to ``torch.Tens
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py:121
Functionpreprocess
(image)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_pix2pix_zero.py:180
Functionpreprocess
(image)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_latent_upscale.py:37
Functionpreprocess
(image)
src/diffusers/pipelines/stable_diffusion/pipeline_cycle_diffusion.py:41
Functionpreprocess
(image)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py:44
Functionpreprocess
(image)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py:54
Functionpreprocess
(image)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_img2img.py:89
Functionpreprocess
(image)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_instruct_pix2pix.py:38
Functionpreprocess
(image)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_diffedit.py:162
Functionpreprocess
(image)
src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion_img2img.py:93
Methodpreprocess
Preprocess the image input. Accepted formats are PIL images, NumPy arrays or PyTorch tensors.
src/diffusers/image_processor.py:551
Functionpreprocess_train
(examples)
examples/text_to_image/train_text_to_image_adjust_sal.py:817
Functionpreprocess_train
(examples)
examples/text_to_image/train_text_to_image.py:759
Functionprint_tensor_test
(tensor, filename="test_corrections.txt", expected_tensor_name="expected_slice")
src/diffusers/utils/testing_utils.py:98
Methodprocess
(text: str)
src/diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py:491
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img_superresolution.py:224
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if.py:431
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_superresolution.py:182
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py:475
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting_superresolution.py:226
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting.py:515
Methodprocess_weights
(adapter_names, weights)
src/diffusers/loaders/lora.py:1047
Functionprograms_to_midi_classes
Modifies program events to be the first program in the MIDI class.
src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:234
Methodprogress_bar
(self, iterable)
src/diffusers/pipelines/pipeline_flax_utils.py:604
Methodprogress_bar
(self, iterable=None, total=None)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:429
Methodprogress_bar
(self, iterable=None, total=None)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:667
Methodprogress_bar
(self, iterable=None, total=None)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:423
Methodprogress_bar
(self, iterable=None, total=None)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:663
Functionpt_to_pil
Convert a torch image to a PIL image.
src/diffusers/utils/pil_utils.py:27
Functionpytest_addoption
(parser)
tests/conftest.py:33
Functionpytest_addoption
(parser)
examples/conftest.py:34
Functionpytest_terminal_summary
(terminalreporter)
tests/conftest.py:39
Functionpytest_terminal_summary
(terminalreporter)
examples/conftest.py:40
Methodrandom_variance
()
src/diffusers/schedulers/scheduling_ddpm_flax.py:266
Functionrearrange_0
(tensor, f)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:26
Functionrearrange_0
(tensor, f)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:19
Functionrearrange_1
(tensor)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:33
Functionrearrange_1
(tensor)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:25
Methodrecursive_check
(tuple_object, dict_object)
tests/schedulers/test_schedulers.py:538
Methodrecursive_check
(tuple_object, dict_object)
tests/schedulers/test_scheduler_flax.py:185
Methodrecursive_check
(tuple_object, dict_object)
tests/schedulers/test_scheduler_flax.py:473
Methodrecursive_check
(tuple_object, dict_object)
tests/schedulers/test_scheduler_flax.py:685
Methodrecursive_check
(tuple_object, dict_object)
tests/schedulers/test_scheduler_lcm.py:165
Methodrecursive_check
(tuple_object, dict_object)
tests/models/test_modeling_common.py:586
Methodrecursive_find_attn_block
(name, module)
src/diffusers/models/modeling_utils.py:1077
Methodregister_modules
(self, **kwargs)
src/diffusers/pipelines/pipeline_flax_utils.py:118
Methodregister_subcommand
(parser: ArgumentParser)
src/diffusers/commands/fp16_safetensors.py:45
Methodregister_subcommand
(parser: ArgumentParser)
src/diffusers/commands/__init__.py:22
Functionregister_to_config
r""" Decorator to apply on the init of classes inheriting from [`ConfigMixin`] so that all the arguments are automatically sent to `self.regis
src/diffusers/configuration_utils.py:600
Methodremap_key
(key, state_dict)
src/diffusers/loaders/utils.py:41
Methodremove_all_hooks
(self)
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3.py:73
← previousnext →5,001–5,100 of 7,383, ranked by callers