MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

Methodgpu_provider
(self)
tests/pipelines/stable_diffusion/test_onnx_stable_diffusion.py:212
Methodgpu_provider
(self)
tests/pipelines/stable_diffusion/test_onnx_stable_diffusion_inpaint.py:46
Methodgroup_norms_match_channel_sizes
(num_groups, channel_sizes)
examples/research_projects/controlnetxs/controlnetxs.py:433
Methodguidance_rescale
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:776
Methodguidance_rescale
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:910
Methodguidance_rescale
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:1146
Methodguidance_rescale
(self)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py:705
Methodguidance_rescale
(self)
src/diffusers/pipelines/stable_diffusion_ldm3d/pipeline_stable_diffusion_ldm3d.py:680
Methodguidance_rescale
(self)
src/diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_diffusion.py:640
Methodguidance_rescale
(self)
examples/community/pipeline_sdxl_style_aligned.py:1338
Methodguidance_rescale
(self)
examples/community/llm_grounded_diffusion.py:1534
Methodguidance_rescale
(self)
examples/community/ip_adapter_face_id.py:1092
Methodguidance_rescale
(self)
examples/community/lpw_stable_diffusion_xl.py:1333
Methodguidance_rescale
(self)
examples/community/pipeline_stable_diffusion_xl_ipex.py:705
Methodguidance_rescale
(self)
examples/community/gluegen.py:553
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:772
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:906
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:1142
Methodguidance_scale
(self)
src/diffusers/pipelines/brushnet/pipeline_brushnet_sd_xl.py:908
Methodguidance_scale
(self)
src/diffusers/pipelines/brushnet/pipeline_brushnet.py:808
Methodguidance_scale
(self)
src/diffusers/pipelines/i2vgen_xl/pipeline_i2vgen_xl.py:157
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py:316
Methodguidance_scale
(self)
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3.py:327
Methodguidance_scale
(self)
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py:401
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py:554
Methodguidance_scale
(self)
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_xl_adapter.py:816
Methodguidance_scale
(self)
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py:645
Methodguidance_scale
(self)
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_img2img.py:663
Methodguidance_scale
(self)
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_text2img.py:595
Methodguidance_scale
(self)
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:901
Methodguidance_scale
(self)
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py:1102
Methodguidance_scale
(self)
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py:1079
Methodguidance_scale
(self)
src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py:869
Methodguidance_scale
(self)
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py:1032
Methodguidance_scale
(self)
src/diffusers/pipelines/controlnet/pipeline_controlnet.py:856
Methodguidance_scale
(self)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior.py:363
Methodguidance_scale
(self)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_img2img.py:179
Methodguidance_scale
(self)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_inpainting.py:283
Methodguidance_scale
(self)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2.py:111
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py:701
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py:578
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_img2img.py:799
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py:941
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_instruct_pix2pix.py:811
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade_prior.py:331
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade.py:271
Methodguidance_scale
(self)
src/diffusers/pipelines/animatediff/pipeline_animatediff_video2video.py:710
Methodguidance_scale
(self)
src/diffusers/pipelines/animatediff/pipeline_animatediff.py:551
Methodguidance_scale
(self)
src/diffusers/pipelines/stable_diffusion_ldm3d/pipeline_stable_diffusion_ldm3d.py:676
Methodguidance_scale
(self)
src/diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_diffusion_img2img.py:725
Methodguidance_scale
(self)
src/diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_diffusion.py:636
Methodguidance_scale
(self)
src/diffusers/pipelines/pia/pipeline_pia.py:732
Methodguidance_scale
(self)
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_prior.py:269
Methodguidance_scale
(self)
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen.py:197
Methodguidance_scale
(self)
examples/research_projects/promptdiffusion/pipeline_prompt_diffusion.py:866
Methodguidance_scale
(self)
examples/community/pipeline_sdxl_style_aligned.py:1334
Methodguidance_scale
(self)
examples/community/latent_consistency_interpolate.py:633
Methodguidance_scale
(self)
examples/community/llm_grounded_diffusion.py:1529
Methodguidance_scale
(self)
examples/community/ip_adapter_face_id.py:1088
Methodguidance_scale
(self)
examples/community/lpw_stable_diffusion_xl.py:1329
Methodguidance_scale
(self)
examples/community/pipeline_stable_diffusion_xl_ipex.py:701
Methodguidance_scale
(self)
examples/community/pipeline_animatediff_controlnet.py:709
Methodguidance_scale
(self)
examples/community/gluegen.py:549
Functionguidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timesteps (`torch.T
examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:321
Methodhack_CrossAttnDownBlock2D_forward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor
examples/community/stable_diffusion_xl_reference.py:454
Methodhack_CrossAttnDownBlock2D_forward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor
examples/community/stable_diffusion_reference.py:1131
Methodhack_CrossAttnDownBlock2D_forward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor
examples/community/stable_diffusion_controlnet_reference.py:493
Methodhacked_CrossAttnUpBlock2D_forward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[t
examples/community/stable_diffusion_xl_reference.py:550
Methodhacked_CrossAttnUpBlock2D_forward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[t
examples/community/stable_diffusion_reference.py:1232
Methodhacked_CrossAttnUpBlock2D_forward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[t
examples/community/stable_diffusion_controlnet_reference.py:589
Methodhacked_DownBlock2D_forward
(self, hidden_states, temb=None, *args, **kwargs)
examples/community/stable_diffusion_xl_reference.py:510
Methodhacked_DownBlock2D_forward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor
examples/community/stable_diffusion_reference.py:1187
Methodhacked_DownBlock2D_forward
(self, hidden_states, temb=None, *args, **kwargs)
examples/community/stable_diffusion_controlnet_reference.py:549
Methodhacked_UpBlock2D_forward
( self, hidden_states, res_hidden_states_tuple, temb=None, upsample_size=None, **kwargs )
examples/community/stable_diffusion_xl_reference.py:606
Methodhacked_UpBlock2D_forward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[t
examples/community/stable_diffusion_reference.py:1288
Methodhacked_UpBlock2D_forward
( self, hidden_states, res_hidden_states_tuple, temb=None, upsample_size=None, *args, **kwargs
examples/community/stable_diffusion_controlnet_reference.py:645
Methodhacked_basic_transformer_inner_forward
( self, hidden_states: torch.FloatTensor, attention_mask: Optional[torch.F
examples/community/stable_diffusion_xl_reference.py:336
Methodhacked_basic_transformer_inner_forward
( self, hidden_states: torch.FloatTensor, attention_mask: Optional[torch.F
examples/community/stable_diffusion_reference.py:1013
Methodhacked_basic_transformer_inner_forward
( self, hidden_states: torch.FloatTensor, attention_mask: Optional[torch.F
examples/community/stable_diffusion_controlnet_reference.py:375
Methodhacked_mid_forward
(self, *args, **kwargs)
examples/community/stable_diffusion_xl_reference.py:430
Methodhacked_mid_forward
(self, *args, **kwargs)
examples/community/stable_diffusion_reference.py:1107
Methodhacked_mid_forward
(self, *args, **kwargs)
examples/community/stable_diffusion_controlnet_reference.py:469
Methodhas_state
(self)
src/diffusers/schedulers/scheduling_karras_ve_flax.py:92
Methodhas_state
(self)
src/diffusers/schedulers/scheduling_sde_ve_flax.py:85
Methodhas_state
(self)
src/diffusers/schedulers/scheduling_euler_discrete_flax.py:87
Methodhas_state
(self)
src/diffusers/schedulers/scheduling_pndm_flax.py:119
Methodhas_state
(self)
src/diffusers/schedulers/scheduling_ddim_flax.py:111
Methodhas_state
(self)
src/diffusers/schedulers/scheduling_ddpm_flax.py:92
Methodhas_state
(self)
src/diffusers/schedulers/scheduling_dpmsolver_multistep_flax.py:150
Methodhas_state
(self)
src/diffusers/schedulers/scheduling_lms_discrete_flax.py:90
Methodheight
(self)
examples/community/mixture_canvas.py:78
Methodhook_forward
(module)
examples/community/regional_prompting_stable_diffusion.py:198
Methodhook_forwards
(root_module: torch.nn.Module)
examples/community/regional_prompting_stable_diffusion.py:361
Methodimage_guidance_scale
(self)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_instruct_pix2pix.py:815
Methodimage_latents_params
(self)
tests/pipelines/test_pipelines_common.py:366
Methodimage_params
(self)
tests/pipelines/test_pipelines_common.py:359
Methodimage_variation
r""" The call function to the pipeline for generation. Args: image (`PIL.Image.Image`, `List[PIL.Image.Image]` or `torch.
src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion.py:82
Methodimg2img
r""" Function for image-to-image generation. Args: image (`np.ndarray` or `PIL.Image.Image`): `Image`, or
examples/community/lpw_stable_diffusion_onnx.py:962
Methodimg2img
r""" Function invoked when calling pipeline for image-to-image. Refer to the documentation of the `__call__` method for parameter des
examples/community/lpw_stable_diffusion_xl.py:1976
Methodimg2img
r""" Function for image-to-image generation. Args: image (`torch.FloatTensor` or `PIL.Image.Image`): `Imag
examples/community/lpw_stable_diffusion.py:1131
← previousnext →7,001–7,100 of 9,976, ranked by callers