MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

Method__call__
( self, attn: Attention, hidden_states: torch.FloatTensor, encoder_hidden_stat
src/diffusers/models/attention_processor.py:1213
Method__call__
( self, attn: Attention, hidden_states: torch.FloatTensor, encoder_hidden_stat
src/diffusers/models/attention_processor.py:1308
Method__call__
( self, attn: Attention, hidden_states: torch.FloatTensor, encoder_hidden_stat
src/diffusers/models/attention_processor.py:1437
Method__call__
( self, attn: Attention, hidden_states: torch.FloatTensor, encoder_hidden_stat
src/diffusers/models/attention_processor.py:1548
Method__call__
( self, attn: Attention, hidden_states: torch.FloatTensor, encoder_hidden_stat
src/diffusers/models/attention_processor.py:1629
Method__call__
( self, attn: "Attention", hidden_states: torch.FloatTensor, encoder_hidden_st
src/diffusers/models/attention_processor.py:1716
Method__call__
(self, attn: Attention, hidden_states: torch.FloatTensor, *args, **kwargs)
src/diffusers/models/attention_processor.py:1862
Method__call__
(self, attn: Attention, hidden_states: torch.FloatTensor, *args, **kwargs)
src/diffusers/models/attention_processor.py:1923
Method__call__
(self, attn: Attention, hidden_states: torch.FloatTensor, *args, **kwargs)
src/diffusers/models/attention_processor.py:2002
Method__call__
(self, attn: Attention, hidden_states: torch.FloatTensor, *args, **kwargs)
src/diffusers/models/attention_processor.py:2061
Method__call__
( self, attn: Attention, hidden_states: torch.FloatTensor, encoder_hidden_stat
src/diffusers/models/attention_processor.py:2120
Method__call__
( self, attn: Attention, hidden_states: torch.FloatTensor, encoder_hidden_stat
src/diffusers/models/attention_processor.py:2280
Method__call__
(self, hidden_states, context=None, deterministic=True)
src/diffusers/models/attention_flax.py:181
Method__call__
(self, hidden_states, context, deterministic=True)
src/diffusers/models/attention_flax.py:306
Method__call__
(self, hidden_states, context, deterministic=True)
src/diffusers/models/attention_flax.py:409
Method__call__
(self, hidden_states, deterministic=True)
src/diffusers/models/attention_flax.py:462
Method__call__
(self, hidden_states, deterministic=True)
src/diffusers/models/attention_flax.py:491
Method__call__
(self, temb)
src/diffusers/models/embeddings_flax.py:73
Method__call__
(self, timesteps)
src/diffusers/models/embeddings_flax.py:94
Method__call__
(self, hidden_states)
src/diffusers/models/vae_flax.py:84
Method__call__
(self, hidden_states)
src/diffusers/models/vae_flax.py:118
Method__call__
(self, hidden_states, deterministic=True)
src/diffusers/models/vae_flax.py:185
Method__call__
(self, hidden_states)
src/diffusers/models/vae_flax.py:240
Method__call__
(self, hidden_states, deterministic=True)
src/diffusers/models/vae_flax.py:322
Method__call__
(self, hidden_states, deterministic=True)
src/diffusers/models/vae_flax.py:379
Method__call__
(self, hidden_states, deterministic=True)
src/diffusers/models/vae_flax.py:452
Method__call__
(self, sample, deterministic: bool = True)
src/diffusers/models/vae_flax.py:555
Method__call__
(self, sample, deterministic: bool = True)
src/diffusers/models/vae_flax.py:671
Method__call__
(self, sample, sample_posterior=False, deterministic: bool = True, return_dict: bool = True)
src/diffusers/models/vae_flax.py:863
Method__call__
(self, conditioning: jnp.ndarray)
src/diffusers/models/controlnet_flax.py:90
Method__call__
r""" Args: sample (`jnp.ndarray`): (batch, channel, height, width) noisy inputs tensor timestep (`jnp.ndarray` or `flo
src/diffusers/models/controlnet_flax.py:314
Method__call__
(self, hidden_states)
src/diffusers/models/resnet_flax.py:32
Method__call__
(self, hidden_states)
src/diffusers/models/resnet_flax.py:56
Method__call__
(self, hidden_states, temb, deterministic=True)
src/diffusers/models/resnet_flax.py:106
Method__call__
r""" Args: sample (`jnp.ndarray`): (batch, channel, height, width) noisy inputs tensor timestep (`jnp.ndarray` or `flo
src/diffusers/models/unets/unet_2d_condition_flax.py:329
Method__call__
(self, hidden_states, temb, encoder_hidden_states, deterministic=True)
src/diffusers/models/unets/unet_2d_blocks_flax.py:96
Method__call__
(self, hidden_states, temb, deterministic=True)
src/diffusers/models/unets/unet_2d_blocks_flax.py:155
Method__call__
(self, hidden_states, res_hidden_states_tuple, temb, encoder_hidden_states, deterministic=True)
src/diffusers/models/unets/unet_2d_blocks_flax.py:245
Method__call__
(self, hidden_states, res_hidden_states_tuple, temb, deterministic=True)
src/diffusers/models/unets/unet_2d_blocks_flax.py:310
Method__call__
(self, hidden_states, temb, encoder_hidden_states, deterministic=True)
src/diffusers/models/unets/unet_2d_blocks_flax.py:394
Method__call__
(self, obs, batch_size=64, planning_horizon=32, n_guide_steps=2, scale=0.1)
src/diffusers/experimental/rl/value_guided_sampling.py:122
Method__call__
( self, features: torch.Tensor, schedule=[1.0, 0.5], generator=None, )
scripts/convert_consistency_decoder.py:129
Method__call__
(self, attn, hidden_states, encoder_hidden_states=None, attention_mask=None, number=None)
tests/models/unets/test_models_unet_2d_condition.py:530
Method__call__
r""" Args: batch_size (`int`, *optional*, defaults to 1): The number of images to generate. generator
tests/fixtures/custom_pipeline/pipeline.py:41
Method__call__
r""" Args: batch_size (`int`, *optional*, defaults to 1): The number of images to generate. generator
tests/fixtures/custom_pipeline/what_ever.py:41
Method__call__
(self,examples)
examples/brushnet/train_brushnet_sdxl.py:890
Method__call__
(self,examples)
examples/brushnet/train_brushnet.py:711
Method__call__
(self, x)
examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:145
Method__call__
(self, x)
examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:133
Method__call__
(self, x)
examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:151
Method__call__
(self, x)
examples/consistency_distillation/train_lcm_distill_sd_wds.py:127
Method__call__
(self, text, *args, vector_shuffle=False, prop_tokens_to_load=1.0, **kwargs)
examples/research_projects/multi_token_textual_inversion/multi_token_clip.py:87
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`): The
examples/research_projects/rdm/pipeline_rdm.py:150
Method__call__
( self, embeddings, k: int = 20, )
examples/research_projects/rdm/retriever.py:191
Method__call__
(self, x)
examples/research_projects/controlnet/train_controlnet_webdataset.py:177
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
examples/research_projects/controlnetxs/pipeline_controlnet_xs.py:567
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
examples/research_projects/controlnetxs/pipeline_controlnet_xs_sd_xl.py:636
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
examples/research_projects/promptdiffusion/pipeline_prompt_diffusion.py:890
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`): The
examples/community/composable_stable_diffusion.py:341
Method__call__
( self, style_image: Union[torch.FloatTensor, PIL.Image.Image], content_image: Union[t
examples/community/clip_guided_images_mixing_stable_diffusion.py:234
Method__call__
( self, attn: Attention, hidden_states: torch.Tensor, encoder_hidden_states: O
examples/community/pipeline_sdxl_style_aligned.py:288
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/pipeline_sdxl_style_aligned.py:1374
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/stable_diffusion_tensorrt_inpaint.py:962
Method__call__
(self, attn: Attention, hidden_states, encoder_hidden_states=None, attention_mask=None, temb=None)
examples/community/rerender_a_video.py:209
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/stable_diffusion_controlnet_inpaint.py:736
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/pipeline_stable_diffusion_xl_controlnet_adapter.py:869
Method__call__
( self, prompt: str, height: int = 512, width: int = 512, num_inf
examples/community/regional_prompting_stable_diffusion.py:96
Method__call__
r""" Function to run the diffusion pipeline with tiling support. Args: prompt: either a single string (no tiling) or a li
examples/community/mixture_tiling.py:167
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`): The
examples/community/seed_resize_stable_diffusion.py:72
Method__call__
Function invoked when calling the pipeline for generation. Args: image (`List[PIL.Image.Image]` or `torch.FloatTensor`):
examples/community/unclip_image_interpolation.py:208
Method__call__
( self, base_prompt: str, target_prompt: str, image: Image.Image, guid
examples/community/edict_pipeline.py:189
Method__call__
Function invoked when calling the pipeline for generation. Args: start_prompt (`str`): The prompt to sta
examples/community/unclip_text_interpolation.py:216
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/pipeline_demofusion_sdxl.py:626
Method__call__
( self, prompt, uncond_embeddings, inverted_latent, num_inference_step
examples/community/pipeline_null_text_inversion.py:194
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`): The
examples/community/sd_text2img_k_diffusion.py:278
Method__call__
( self, height: Optional[int] = 256, width: Optional[int] = 256, num_inference
examples/community/bit_diffusion.py:229
Method__call__
( self, prompt: Union[str, List[str]] = None, prompt_2: Optional[Union[str, List[str]]
examples/community/stable_diffusion_xl_reference.py:189
Method__call__
( self, prompt: Union[str, List[str]] = None, height: Optional[int] = 768, wid
examples/community/latent_consistency_txt2img.py:199
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: alpha (`float`, *optional*, defaults to 1.2):
examples/community/imagic_stable_diffusion.py:310
Method__call__
r""" Args: batch_size (`int`, *optional*, defaults to 1): The number of images to generate. num_infere
examples/community/iadb.py:84
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
examples/community/masked_stable_diffusion_img2img.py:15
Method__call__
r""" The call function to the pipeline for generation. Args: measurement (`torch.Tensor`, *required*): A
examples/community/dps_pipeline.py:49
Method__call__
( self, prompt: Union[str, List[str]], height: Optional[int] = 512, width: Opt
examples/community/clip_guided_stable_diffusion_img2img.py:304
Method__call__
( self, prompt: Union[str, List[str]], height: Optional[int] = 512, width: Opt
examples/community/clip_guided_stable_diffusion.py:169
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/stable_diffusion_ipex.py:554
Method__call__
r""" Args: image (`torch.FloatTensor` or `PIL.Image.Image`): `Image`, or tensor representing an image batch, that
examples/community/ddim_noise_comparative_analysis.py:104
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/stable_diffusion_reference.py:808
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
examples/community/latent_consistency_interpolate.py:650
Method__call__
( self, img: Image.Image, prompt: str, kmin: float = 0.3, kmax: float
examples/community/magic_mix.py:73
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/instaflow_one_step.py:488
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/stable_diffusion_tensorrt_txt2img.py:850
Method__call__
r""" Function invoked when calling the pipeline for image editing. Args: prompt (`str`, *required*): The p
examples/community/sde_drag.py:63
Method__call__
( self, attn: Attention, hidden_states, encoder_hidden_states=None, at
examples/community/llm_grounded_diffusion.py:167
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
examples/community/llm_grounded_diffusion.py:745
Method__call__
( self, canvas_height: int, canvas_width: int, regions: List[DiffusionRegion],
examples/community/mixture_canvas.py:322
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/stable_diffusion_controlnet_reference.py:99
Method__call__
( self, attn, hidden_states, encoder_hidden_states=None, attention_mas
examples/community/ip_adapter_face_id.py:96
Method__call__
( self, attn, hidden_states, encoder_hidden_states=None, attention_mas
examples/community/ip_adapter_face_id.py:234
Method__call__
r""" The call function to the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*): T
examples/community/ip_adapter_face_id.py:1119
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
examples/community/run_onnx_controlnet.py:504
← previousnext →4,001–4,100 of 9,976, ranked by callers