MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
src/diffusers/models/unets/unet_3d_blocks.py:1165
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
src/diffusers/models/unets/unet_3d_blocks.py:1346
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
src/diffusers/models/unets/unet_3d_blocks.py:1504
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
src/diffusers/models/unets/unet_3d_blocks.py:1680
Methodforward
( self, hidden_states: torch.FloatTensor, image_only_indicator: torch.FloatTensor,
src/diffusers/models/unets/unet_3d_blocks.py:1789
Methodforward
( self, hidden_states: torch.FloatTensor, image_only_indicator: torch.FloatTensor,
src/diffusers/models/unets/unet_3d_blocks.py:1840
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
src/diffusers/models/unets/unet_3d_blocks.py:1913
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
src/diffusers/models/unets/unet_3d_blocks.py:2009
Methodforward
( self, hidden_states: torch.FloatTensor, temb: Optional[torch.FloatTensor] = None,
src/diffusers/models/unets/unet_3d_blocks.py:2119
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
src/diffusers/models/unets/unet_3d_blocks.py:2218
Methodforward
( self, hidden_states: torch.FloatTensor, res_hidden_states_tuple: Tuple[torch.FloatTe
src/diffusers/models/unets/unet_3d_blocks.py:2327
Methodforward
r""" The [`UNetSpatioTemporalConditionModel`] forward method. Args: sample (`torch.FloatTensor`): The noi
src/diffusers/models/unets/unet_spatio_temporal_condition.py:356
Methodforward
r""" The [`UNet2DModel`] forward method. Args: sample (`torch.FloatTensor`): The noisy input tensor with
src/diffusers/models/unets/unet_2d.py:243
Methodforward
(self, x)
src/diffusers/models/unets/unet_kandinsky3.py:43
Methodforward
(self, sample, timestep, encoder_hidden_states=None, encoder_attention_mask=None, return_dict=True)
src/diffusers/models/unets/unet_kandinsky3.py:212
Methodforward
(self, x, time_embed, context=None, context_mask=None, image_mask=None)
src/diffusers/models/unets/unet_kandinsky3.py:313
Methodforward
(self, x, time_embed, context=None, context_mask=None, image_mask=None)
src/diffusers/models/unets/unet_kandinsky3.py:381
Methodforward
(self, x, context)
src/diffusers/models/unets/unet_kandinsky3.py:401
Methodforward
(self, x, time_embed)
src/diffusers/models/unets/unet_kandinsky3.py:430
Methodforward
(self, x, time_embed)
src/diffusers/models/unets/unet_kandinsky3.py:471
Methodforward
(self, x, context, context_mask=None)
src/diffusers/models/unets/unet_kandinsky3.py:494
Methodforward
(self, x, time_embed, context=None, context_mask=None, image_mask=None)
src/diffusers/models/unets/unet_kandinsky3.py:520
Methodforward
r""" Args: sample (`torch.FloatTensor`): Input sample. sample_posterior (`bool`, *optional*, defaults to `False`):
src/diffusers/models/autoencoders/autoencoder_kl.py:425
Methodforward
r"""The forward method of the `Encoder` class.
src/diffusers/models/autoencoders/vae.py:140
Methodforward
r"""The forward method of the `Decoder` class.
src/diffusers/models/autoencoders/vae.py:285
Methodforward
r"""The forward method of the `UpSample` class.
src/diffusers/models/autoencoders/vae.py:372
Methodforward
r"""The forward method of the `MaskConditionEncoder` class.
src/diffusers/models/autoencoders/vae.py:421
Methodforward
r"""The forward method of the `MaskConditionDecoder` class.
src/diffusers/models/autoencoders/vae.py:537
Methodforward
(self, z: torch.FloatTensor)
src/diffusers/models/autoencoders/vae.py:717
Methodforward
r"""The forward method of the `EncoderTiny` class.
src/diffusers/models/autoencoders/vae.py:879
Methodforward
r"""The forward method of the `DecoderTiny` class.
src/diffusers/models/autoencoders/vae.py:961
Methodforward
r"""The forward method of the `Decoder` class.
src/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py:87
Methodforward
r""" Args: sample (`torch.FloatTensor`): Input sample. sample_posterior (`bool`, *optional*, defaults to `False`):
src/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py:371
Methodforward
r""" Args: sample (`torch.FloatTensor`): Input sample. mask (`torch.FloatTensor`, *optional*, defaults to `None`): Opt
src/diffusers/models/autoencoders/autoencoder_asym_kl.py:158
Methodforward
r""" Args: sample (`torch.FloatTensor`): Input sample. return_dict (`bool`, *optional*, defaults to `True`):
src/diffusers/models/autoencoders/autoencoder_tiny.py:322
Methodforward
r""" Args: sample (`torch.FloatTensor`): Input sample. sample_posterior (`bool`, *optional*, defaults to `False`):
src/diffusers/models/autoencoders/consistency_decoder_vae.py:403
Methodforward
( self, sample, timestep, encoder_hidden_states, controlnet_conds,
scripts/convert_stable_diffusion_controlnet_to_onnx.py:90
Methodforward
( self, sample, timestep, encoder_hidden_states, controlnet_conds,
scripts/convert_stable_diffusion_controlnet_to_onnx.py:141
Methodforward
(self, x)
scripts/convert_consistency_decoder.py:220
Methodforward
(self, x)
scripts/convert_consistency_decoder.py:232
Methodforward
(self, x)
scripts/convert_consistency_decoder.py:242
Methodforward
(self, x, t)
scripts/convert_consistency_decoder.py:260
Methodforward
(self, x, t)
scripts/convert_consistency_decoder.py:287
Methodforward
(self, x, t)
scripts/convert_consistency_decoder.py:318
Methodforward
(self, x, t, features)
scripts/convert_consistency_decoder.py:435
Methodforward
(self, conditioning)
examples/research_projects/controlnetxs/controlnetxs.py:93
Methodforward
The [`ControlNetModel`] forward method. Args: base_model (`UNet2DConditionModel`): The base unet model w
examples/research_projects/controlnetxs/controlnetxs.py:541
Methodforward
Iterate through children and pass correct information to each.
examples/research_projects/controlnetxs/controlnetxs.py:775
Methodforward
The [`~PromptDiffusionControlNetModel`] forward method. Args: sample (`torch.FloatTensor`): The noisy in
examples/research_projects/promptdiffusion/promptdiffusioncontrolnet.py:182
Methodforward
(self, x)
examples/community/stable_diffusion_tensorrt_inpaint.py:611
Methodforward
( hidden_states: torch.FloatTensor, encoder_hidden_states: Optional[
examples/community/regional_prompting_stable_diffusion.py:200
Methodforward
(self, in_tensor)
examples/community/dps_pipeline.py:252
Methodforward
(self, data, **kwargs)
examples/community/dps_pipeline.py:371
Methodforward
(self, x)
examples/community/dps_pipeline.py:391
Methodforward
(self, data, **kwargs)
examples/community/dps_pipeline.py:421
Methodforward
(self, pixel_values, num_cutouts)
examples/community/clip_guided_stable_diffusion_img2img.py:103
Methodforward
(self, pixel_values, num_cutouts)
examples/community/clip_guided_stable_diffusion.py:29
Methodforward
(self, image_embeds: torch.FloatTensor)
examples/community/ip_adapter_face_id.py:352
Methodforward
(self, attn, is_cross: bool, place_in_unet: str)
examples/community/pipeline_prompt2prompt.py:979
Methodforward
(self, attn, is_cross: bool, place_in_unet: str)
examples/community/pipeline_prompt2prompt.py:1064
Methodforward
(self, x)
examples/community/stable_diffusion_tensorrt_img2img.py:611
Methodforward
(self, x)
examples/community/pipeline_zero1to3.py:65
Methodforward
(self, x)
examples/community/gluegen.py:58
Methodforward
(self, x)
examples/community/gluegen.py:101
Methodforward
(self, x)
examples/community/gluegen.py:130
Methodforward
Args: x (torch.Tensor): image features shape (b, n1, D) latent (torch.Tensor): latent features
examples/community/pipeline_stable_diffusion_xl_instantid.py:86
Methodforward
(self, x)
examples/community/pipeline_stable_diffusion_xl_instantid.py:150
Methodforward
(self, x)
examples/wuerstchen/text_to_image/modeling_efficient_net_encoder.py:22
Methodforward_
(hidden_states: torch.Tensor)
examples/community/pipeline_sdxl_style_aligned.py:1215
Methodforward_onnx
(self, clip_input: torch.FloatTensor, images: torch.FloatTensor)
src/diffusers/pipelines/stable_diffusion_safe/safety_checker.py:88
Methodforward_onnx
(self, clip_input: torch.FloatTensor, images: torch.FloatTensor)
src/diffusers/pipelines/stable_diffusion/safety_checker.py:102
Methodfps
(self)
tests/models/unets/test_models_unet_spatiotemporal.py:70
Methodfree_init_enabled
(self)
src/diffusers/pipelines/free_init_utils.py:71
Methodfreeze_unet
(self)
examples/community/clip_guided_images_mixing_stable_diffusion.py:122
Methodfreeze_unet
(self)
examples/community/clip_guided_stable_diffusion_img2img.py:172
Methodfreeze_unet
(self)
examples/community/clip_guided_stable_diffusion.py:98
Methodfreeze_vae
(self)
examples/community/clip_guided_images_mixing_stable_diffusion.py:116
Methodfreeze_vae
(self)
examples/community/clip_guided_stable_diffusion_img2img.py:166
Methodfreeze_vae
(self)
examples/community/clip_guided_stable_diffusion.py:92
Methodfrom_config
r""" Instantiate a Python class from a config dictionary. Parameters: config (`Dict[str, Any]`): A config
src/diffusers/configuration_utils.py:187
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_scipy_objects.py:12
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:12
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:27
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:42
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:57
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:72
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:87
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:102
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:117
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:132
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:147
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:162
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:177
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:192
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:207
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:222
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:237
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:252
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:267
Methodfrom_config
(cls, *args, **kwargs)
src/diffusers/utils/dummy_torch_and_transformers_objects.py:282
← previousnext →6,301–6,400 of 9,976, ranked by callers