Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YesianRohn/TextSSR
/ functions
Functions
13,352 in github.com/YesianRohn/TextSSR
⨍
Functions
13,352
◇
Types & classes
1,980
↳
Endpoints
6
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:832
Method
add_noise
(self, sample, timesteps, generator=None)
diffusers/src/diffusers/schedulers/scheduling_amused.py:140
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_edm_euler.py:368
Method
add_noise
( self, state: PNDMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
diffusers/src/diffusers/schedulers/scheduling_pndm_flax.py:499
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py:673
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_sde_ve.py:283
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:531
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py:538
Method
add_noise
( self, state: DDIMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
diffusers/src/diffusers/schedulers/scheduling_ddim_flax.py:295
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:964
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_euler_discrete.py:684
Method
add_noise
( self, state: DDPMSchedulerState, original_samples: jnp.ndarray, noise: jnp.n
diffusers/src/diffusers/schedulers/scheduling_ddpm_flax.py:284
Method
add_noise
( self, state: DPMSolverMultistepSchedulerState, original_samples: jnp.ndarray,
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_flax.py:633
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:1105
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_unipc_multistep.py:996
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_ddpm_parallel.py:588
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_ddim_cogvideox.py:402
Method
add_noise
( self, state: LMSDiscreteSchedulerState, original_samples: jnp.ndarray, noise
diffusers/src/diffusers/schedulers/scheduling_lms_discrete_flax.py:268
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:1094
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_heun_discrete.py:552
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/src/diffusers/schedulers/scheduling_tcd.py:632
Method
add_noise
(self, original_samples, noise, timesteps)
diffusers/src/diffusers/schedulers/deprecated/scheduling_karras_ve.py:242
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/examples/community/latent_consistency_txt2img.py:686
Method
add_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
diffusers/examples/community/scheduling_ufogen.py:462
Method
add_noise_to_input
Explicit Langevin-like "churn" step of adding noise to the sample according to a `gamma_i ≥ 0` to reach a higher noise level `sigma_h
diffusers/src/diffusers/schedulers/deprecated/scheduling_karras_ve.py:138
Method
addition_time_embed_dim
(self)
diffusers/tests/models/unets/test_models_unet_spatiotemporal.py:84
Method
align
(depth: torch.Tensor, param: np.ndarray)
diffusers/src/diffusers/pipelines/marigold/pipeline_marigold_depth.py:728
Method
all_possible_dict_opts
Generate every possible combination for how a lora weight dict can be. E.g. 2, {"unet: {"down": 2}}, {"unet: {"down": [2,2,2]
diffusers/tests/lora/utils.py:1268
Method
append_ca
(net_)
diffusers/src/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_model_editing.py:134
Method
apply
(self, pipe, i, t, callback_kwargs)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:476
Method
apply
(self, pipe, i, t, callback_kwargs)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:775
Method
apply
(self, pipe, i, t, callback_kwargs)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:1012
Method
apply
(self, pipe, i, t, callback_kwargs)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py:354
Method
apply
(self, pipe, i, t, callback_kwargs)
diffusers/tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:346
Function
apply_FRESCO_attn
Apply FRESCO-guided attention to a StableDiffusionPipeline
diffusers/examples/community/fresco_v2v.py:1193
Function
apply_forward_hook
Decorator that applies a registered CpuOffload hook to an arbitrary function rather than `forward`. This is useful for cases where a PyTorch
diffusers/src/diffusers/utils/accelerate_utils.py:27
Method
apply_model
(self, *args, **kwargs)
diffusers/src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_k_diffusion.py:41
Method
apply_model
(self, *args, **kwargs)
diffusers/src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py:81
Method
apply_model
(self, *args, **kwargs)
diffusers/examples/community/sd_text2img_k_diffusion.py:35
Method
apply_partial_rotary_emb
( self, x: torch.Tensor, freqs_cis: Tuple[torch.Tensor], )
diffusers/src/diffusers/models/attention_processor.py:2402
Method
assert_equal_weights
(module, weight_dict_prefix)
diffusers/tests/models/unets/test_models_unet_controlnetxs.py:114
Method
assert_frozen
(module)
diffusers/tests/models/unets/test_models_unet_controlnetxs.py:189
Method
assert_run_mixture
( num_steps, split, scheduler_cls_orig, num_train_timesteps=pipe_1.scheduler.config.num_train_time
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:400
Method
assert_run_mixture
( num_steps, split, scheduler_cls_orig, expected_tss,
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:421
Method
assert_run_mixture
( num_steps, split, scheduler_cls_orig, expected_tss,
diffusers/tests/pipelines/controlnet/test_controlnet_sdxl.py:388
Method
assert_unfrozen
(module)
diffusers/tests/models/unets/test_models_unet_controlnetxs.py:193
Function
attention_fetcher
(x)
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/textual_inversion.py:724
Method
attention_kwargs
(self)
diffusers/src/diffusers/pipelines/cogvideo/pipeline_cogvideox.py:471
Method
attention_kwargs
(self)
diffusers/src/diffusers/pipelines/cogvideo/pipeline_cogvideox_video2video.py:547
Method
attn_hook
(self, name, query, key, value, attention_probs)
diffusers/examples/community/llm_grounded_diffusion.py:421
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:829
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:536
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_prior.py:67
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet_sd3.py:142
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet.py:522
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet_hunyuan.py:119
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet_flux.py:115
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet_xs.py:873
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/controlnet_sparsectrl.py:453
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/transformer_sd3.py:154
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/prior_transformer.py:171
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/transformer_flux.py:290
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/hunyuan_transformer_2d.py:362
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/pixart_transformer_2d.py:192
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/cogvideox_transformer_3d.py:310
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/auraflow_transformer_2d.py:347
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/transformers/stable_audio_transformer.py:283
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_3d_condition.py:294
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_i2vgen_xl.py:323
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/uvit_2d.py:217
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_2d_condition.py:739
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_motion_model.py:1854
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_spatio_temporal_condition.py:249
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/unets/unet_kandinsky3.py:145
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/autoencoders/autoencoder_kl.py:175
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py:245
Method
attn_processors
r""" Returns: `dict` of attention processors: A dictionary containing all attention processors used in the model with
diffusers/src/diffusers/models/autoencoders/consistency_decoder_vae.py:203
Function
backend_device_count
(device: str)
diffusers/src/diffusers/utils/testing_utils.py:1006
Method
batch_params
(self)
diffusers/tests/pipelines/test_pipelines_common.py:940
Method
batch_step_no_noise
Batched version of the `step` function, to be able to reverse the SDE for multiple samples/timesteps at once. Also, does not add any
diffusers/src/diffusers/schedulers/scheduling_ddpm_parallel.py:507
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_ipndm.py:69
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_sasolver.py:242
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_lms_discrete.py:200
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_sde.py:272
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:177
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_lcm.py:282
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_consistency_models.py:112
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:236
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_flow_match_euler_discrete.py:100
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:216
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_edm_euler.py:131
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py:160
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:177
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py:128
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_euler_discrete.py:278
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:307
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_unipc_multistep.py:282
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:277
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_heun_discrete.py:200
Method
begin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
diffusers/src/diffusers/schedulers/scheduling_flow_match_heun_discrete.py:93
← previous
next →
7,001–7,100 of 13,352, ranked by callers