MCPcopy Create free account

hub / github.com/YesianRohn/TextSSR / functions

Functions13,352 in github.com/YesianRohn/TextSSR

↓ 1 callersFunctionfind_all_documented_objects
Parse the content of all doc files to detect which classes and functions it documents
diffusers/utils/check_repo.py:525
↓ 1 callersFunctionfind_code_in_diffusers
Find and return the code source code of `object_name`.
diffusers/utils/check_copies.py:33
↓ 1 callersFunctionfind_flat_region
(mask)
diffusers/examples/community/rerender_a_video.py:154
↓ 1 callersFunctionfind_multiple
(n: int, k: int)
diffusers/src/diffusers/models/transformers/auraflow_transformer_2d.py:41
↓ 1 callersFunctionfind_pipeline_class
Retrieve pipeline class that inherits from `DiffusionPipeline`. Note that there has to be exactly one class inheriting from `DiffusionPipelin
diffusers/src/diffusers/utils/dynamic_modules_utils.py:169
↓ 1 callersFunctionfind_tested_models
Parse the content of test_file to detect what's in all_model_classes
diffusers/utils/check_repo.py:354
↓ 1 callersFunctionfirst_order_update
(model_output, sample)
diffusers/src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion_xl.py:1700
↓ 1 callersFunctionfirst_order_update
(model_output, sample)
diffusers/src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion.py:1406
↓ 1 callersMethodfix_scale_and_size
(self, input_shape, output_shape, scale_factor)
diffusers/examples/community/dps_pipeline.py:273
↓ 1 callersMethodfold_constants
(self, return_onnx=False)
diffusers/scripts/convert_stable_diffusion_controlnet_to_onnx.py:48
↓ 1 callersMethodformat_dict
(d: dict)
diffusers/src/diffusers/commands/env.py:179
↓ 1 callersMethodforward
(self, attn, is_cross: bool, place_in_unet: str)
diffusers/src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion_xl.py:122
↓ 1 callersMethodforward
(self, attn, is_cross: bool, place_in_unet: str)
diffusers/src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion.py:77
↓ 1 callersMethodforward
( self, hidden_states: torch.Tensor, res_hidden_states_tuple: Tuple[torch.Tensor, ...]
diffusers/src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:1838
↓ 1 callersMethodforward
(self, x, x_skip=None)
diffusers/src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_common.py:38
↓ 1 callersMethodforward
(self, x)
diffusers/src/diffusers/models/unets/unet_stable_cascade.py:126
↓ 1 callersMethodforward
(self, context)
diffusers/examples/community/fresco_v2v.py:964
↓ 1 callersMethodforward
(self, attn, is_cross: bool, place_in_unet: str)
diffusers/examples/community/pipeline_stable_diffusion_boxdiff.py:183
↓ 1 callersMethodforward
(self, attn, is_cross: bool, place_in_unet: str)
diffusers/examples/community/pipeline_prompt2prompt.py:938
↓ 1 callersMethodforward
(self, attn, is_cross: bool, place_in_unet: str)
diffusers/examples/community/pipeline_prompt2prompt.py:963
↓ 1 callersFunctionforward_backward_consistency_check
(fwd_flow, bwd_flow, alpha=0.01, beta=0.5)
diffusers/examples/community/rerender_a_video.py:92
↓ 1 callersFunctionforward_backward_consistency_check
(fwd_flow, bwd_flow, alpha=0.01, beta=0.5)
diffusers/examples/community/fresco_v2v.py:124
↓ 1 callersMethodforward_impl
Enhanced Transformer with Rotary Position Embedding. Derived from: https://github.com/labmlai/annotated_deep_learning_paper_implementations/b
diffusers/src/diffusers/pipelines/kolors/text_encoder.py:711
↓ 1 callersMethodforward_loop
Perform DDPM forward process from time t0 to t1. This is the same as adding noise with corresponding variance. Args: x_t
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:806
↓ 1 callersMethodforward_loop
Perform DDPM forward process from time t0 to t1. This is the same as adding noise with corresponding variance. Args: x_t
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:346
↓ 1 callersMethodfov
(self)
diffusers/src/diffusers/pipelines/shap_e/camera.py:46
↓ 1 callersFunctionframe
equivalent of tf.signal.frame
diffusers/src/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py:254
↓ 1 callersFunctionfreeze_params
(params)
diffusers/examples/custom_diffusion/train_custom_diffusion.py:71
↓ 1 callersMethodfreeze_unet2d_params
Freeze the weights of just the UNet2DConditionModel, and leave the motion modules unfrozen for fine tuning.
diffusers/src/diffusers/models/unets/unet_motion_model.py:1783
↓ 1 callersMethodfreeze_unet_params
Freeze the weights of the parts belonging to the base UNet2DConditionModel, and leave everything else unfrozen for fine tuning.
diffusers/src/diffusers/models/controlnet_xs.py:838
↓ 1 callersMethodfrom_config
r""" Instantiate a Python class from a config dictionary. Parameters: config (`Dict[str, Any]`): A config
diffusers/src/diffusers/configuration_utils.py:188
↓ 1 callersFunctionfrom_latent
( *, latent_nchw: torch.Tensor, vae: SupportedAutoencoder, )
diffusers/examples/research_projects/vae/vae_roundtrip.py:141
↓ 1 callersMethodfrom_pretrained
r""" Instantiate a pretrained PyTorch model from a pretrained model configuration. The model is set in evaluation mode - `model.eval(
diffusers/src/diffusers/models/modeling_utils.py:407
↓ 1 callersMethodfrom_unet
r""" Instantiate a [`ControlNetXSAdapter`] from a [`UNet2DConditionModel`]. Parameters: unet (`UNet2DConditionModel`):
diffusers/src/diffusers/models/controlnet_xs.py:430
↓ 1 callersMethodfull_loop
(self, **config)
diffusers/tests/schedulers/test_scheduler_ipndm.py:93
↓ 1 callersMethodfull_loop_custom_sigmas
(self, **config)
diffusers/tests/schedulers/test_scheduler_euler.py:102
↓ 1 callersMethodfull_loop_custom_timesteps
(self, **config)
diffusers/tests/schedulers/test_scheduler_dpm_single.py:117
↓ 1 callersMethodfull_loop_custom_timesteps
(self, **config)
diffusers/tests/schedulers/test_scheduler_heun.py:66
↓ 1 callersMethodfull_loop_custom_timesteps
(self, **config)
diffusers/tests/schedulers/test_scheduler_dpm_multi.py:122
↓ 1 callersMethodfull_loop_custom_timesteps
(self, **config)
diffusers/tests/schedulers/test_scheduler_euler.py:75
↓ 1 callersFunctionfuse_text_encoder_lora
Fuses LoRAs for the text encoder. Args: text_encoder (`torch.nn.Module`): The text encoder module to set the adapter lay
diffusers/src/diffusers/loaders/lora_base.py:55
↓ 1 callersFunctiongamma_schedules
Cumulative and non-cumulative gamma schedules. See section 4.1.
diffusers/src/diffusers/schedulers/scheduling_vq_diffusion.py:88
↓ 1 callersFunctiongaussian_blur_2d
(img, kernel_size, sigma)
diffusers/src/diffusers/pipelines/stable_diffusion_sag/pipeline_stable_diffusion_sag.py:936
↓ 1 callersFunctiongaussian_filter
(latents, kernel_size=3, sigma=1.0)
diffusers/examples/community/pipeline_demofusion_sdxl.py:68
↓ 1 callersFunctiongaussian_kernel
(kernel_size=3, sigma=1.0, channels=3)
diffusers/examples/community/pipeline_demofusion_sdxl.py:58
↓ 1 callersMethodgelu
(self, gate: torch.Tensor)
diffusers/src/diffusers/models/activations.py:107
↓ 1 callersFunctiongemini_zero_dpp
(model: torch.nn.Module, placememt_policy: str = "auto")
diffusers/examples/research_projects/colossalai/train_dreambooth_colossalai.py:347
↓ 1 callersMethodgen_c_embeddings
(self, clip)
diffusers/src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_diffnext.py:157
↓ 1 callersMethodgen_r_embedding
(self, r, max_positions=10000)
diffusers/src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_prior.py:144
↓ 1 callersMethodgen_r_embedding
(self, r, max_positions=10000)
diffusers/src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_diffnext.py:146
↓ 1 callersMethodgenerate_beam
Generates text using the given tokenizer and text prompt or token embedding via beam search. This implementation is based on the beam
diffusers/src/diffusers/pipelines/unidiffuser/modeling_text_decoder.py:202
↓ 1 callersMethodgenerate_captions
Generate captions given text embedding features. Returns list[L]. Args: features (`torch.Tensor` of shape `(B, L, D)`):
diffusers/src/diffusers/pipelines/unidiffuser/modeling_text_decoder.py:170
↓ 1 callersFunctiongenerate_image_hash
(image_path)
diffusers/examples/research_projects/sd3_lora_colab/compute_embeddings.py:38
↓ 1 callersMethodgenerate_image_hash
(self, image_path)
diffusers/examples/research_projects/sd3_lora_colab/train_dreambooth_lora_sd3_miniature.py:598
↓ 1 callersFunctiongenerate_images
( pipeline, prompt="robotic cat with wings", guidance_scale=7.5, num_inference_steps=50, n
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/text2images.py:68
↓ 1 callersFunctiongenerate_mask
(trans_image, im_shape, resolution, polygon, location)
anyword_data.py:19
↓ 1 callersFunctiongenerate_mask
(trans_image, im_shape, resolution, polygon, location)
anyword_data_lmdb.py:22
↓ 1 callersFunctiongenerate_timestep_weights
(args, num_timesteps)
diffusers/examples/text_to_image/train_text_to_image_sdxl.py:546
↓ 1 callersFunctiongenerate_timestep_weights
(args, num_timesteps)
diffusers/examples/research_projects/scheduled_huber_loss_training/text_to_image/train_text_to_image_sdxl.py:561
↓ 1 callersFunctiongenerate_validation_images
( text_encoder: Module, tokenizer: Module, unet: Module, vae: Module, arguments: argparse.
diffusers/examples/research_projects/multi_subject_dreambooth/train_multi_subject_dreambooth.py:76
↓ 1 callersFunctionget_2d_rotary_pos_embed_from_grid
(embed_dim, grid, use_real=False)
diffusers/src/diffusers/models/embeddings.py:541
↓ 1 callersFunctionget_2d_rotary_pos_embed_lumina
(embed_dim, len_h, len_w, linear_factor=1.0, ntk_factor=1.0)
diffusers/src/diffusers/models/embeddings.py:561
↓ 1 callersFunctionget_3d_sincos_pos_embed
r""" Args: embed_dim (`int`): spatial_size (`int` or `Tuple[int, int]`): temporal_size (`int`): spatial_interpolat
diffusers/src/diffusers/models/embeddings.py:81
↓ 1 callersMethodget_adjacent_sigma
(self, state, timesteps, t)
diffusers/src/diffusers/schedulers/scheduling_sde_ve_flax.py:164
↓ 1 callersMethodget_adjacent_sigma
(self, timesteps, t)
diffusers/src/diffusers/schedulers/scheduling_sde_ve.py:153
↓ 1 callersFunctionget_aligned_sequences
(x, y, trace_back)
diffusers/examples/community/pipeline_prompt2prompt.py:1373
↓ 1 callersFunctionget_all_auto_configured_models
Return the list of all models in at least one auto class.
diffusers/utils/check_repo.py:417
↓ 1 callersFunctionget_all_doctest_files
Return the complete list of python and Markdown files on which we run doctest. At this moment, we restrict this to only take files from `src
diffusers/utils/tests_fetcher.py:351
↓ 1 callersMethodget_alpha
(self, image_only_indicator: torch.Tensor, ndims: int)
diffusers/src/diffusers/models/resnet.py:753
↓ 1 callersFunctionget_args
()
diffusers/scripts/convert_animatediff_sparsectrl_to_diffusers.py:33
↓ 1 callersFunctionget_args
()
diffusers/scripts/convert_animatediff_motion_module_to_diffusers.py:28
↓ 1 callersFunctionget_args
()
diffusers/scripts/convert_animatediff_motion_lora_to_diffusers.py:28
↓ 1 callersFunctionget_args
()
diffusers/examples/cogvideo/train_cogvideox_lora.py:60
↓ 1 callersFunctionget_asymmetric_autoencoder_kl_from_original_checkpoint
( scale: Literal["1.5", "2"], original_checkpoint_path: str, map_location: torch.device )
diffusers/scripts/convert_asymmetric_vqgan_to_diffusers.py:123
↓ 1 callersFunctionget_attn_maps
(self, attn)
diffusers/examples/community/regional_prompting_stable_diffusion.py:483
↓ 1 callersMethodget_audio_slice
Get slice of audio. Args: slice (`int`): Slice number of audio (out of `get_number_of_slices()`). Return
diffusers/src/diffusers/pipelines/deprecated/audio_diffusion/mel.py:121
↓ 1 callersFunctionget_autoencoder_oobleck_config
(block_out_channels=None)
diffusers/tests/models/autoencoders/test_models_vae.py:133
↓ 1 callersMethodget_average_attention
(self)
diffusers/src/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py:101
↓ 1 callersMethodget_average_attention
(self)
diffusers/examples/community/pipeline_stable_diffusion_boxdiff.py:229
↓ 1 callersFunctionget_cached_module_file
Prepares Downloads a module from a local folder or a distant repo and returns its path inside the cached Transformers module. Args:
diffusers/src/diffusers/utils/dynamic_modules_utils.py:197
↓ 1 callersMethodget_camera_rays
(self, coords: torch.Tensor)
diffusers/src/diffusers/pipelines/shap_e/camera.py:76
↓ 1 callersFunctionget_class_in_module
Import a module on the cache directory for modules and extract a class from it.
diffusers/src/diffusers/utils/dynamic_modules_utils.py:157
↓ 1 callersMethodget_clip_embeddings
(self, clip_txt_pooled, clip_txt=None, clip_img=None)
diffusers/src/diffusers/models/unets/unet_stable_cascade.py:436
↓ 1 callersMethodget_coefficients_exponential_negative
Calculate the integral of exp(-x) * x^order dx from interval_start to interval_end
diffusers/src/diffusers/schedulers/scheduling_sasolver.py:567
↓ 1 callersMethodget_coefficients_exponential_positive
Calculate the integral of exp(x(1+tau^2)) * x^order dx from interval_start to interval_end
diffusers/src/diffusers/schedulers/scheduling_sasolver.py:591
↓ 1 callersFunctionget_column_names
(dataset, args)
diffusers/examples/research_projects/pytorch_xla/train_text_to_image_xla.py:455
↓ 1 callersFunctionget_connected_passed_kwargs
(prefix)
diffusers/src/diffusers/pipelines/pipeline_loading_utils.py:815
↓ 1 callersFunctionget_crash_schedule
(t)
diffusers/scripts/convert_dance_diffusion_to_diffusers.py:56
↓ 1 callersMethodget_cross_attention_kwargs_with_grounded
Prepare the cross-attention kwargs containing information about the grounded input (boxes, mask, image embedding, phrases embedding).
diffusers/src/diffusers/pipelines/stable_diffusion_gligen/pipeline_stable_diffusion_gligen_text_image.py:602
↓ 1 callersMethodget_cross_attention_kwargs_without_grounded
Prepare the cross-attention kwargs without information about the grounded input (boxes, mask, image embedding, phrases embedding) (Al
diffusers/src/diffusers/pipelines/stable_diffusion_gligen/pipeline_stable_diffusion_gligen_text_image.py:666
↓ 1 callersFunctionget_dataset
(args)
diffusers/examples/research_projects/diffusion_orpo/train_diffusion_orpo_sdxl_lora_wds.py:486
↓ 1 callersFunctionget_dataset_with_emb_from_clip_model
( dataset, clip_model, feature_extractor, image_column="image", index_name="embeddings" )
diffusers/examples/research_projects/rdm/retriever.py:239
↓ 1 callersMethodget_decay
Compute the decay factor for the exponential moving average.
diffusers/src/diffusers/training_utils.py:390
↓ 1 callersMethodget_decay
Compute the decay factor for the exponential moving average.
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/textual_inversion.py:282
↓ 1 callersMethodget_default_steps
Returns default number of steps recommended for inference. Returns: `int`: The number of steps.
diffusers/src/diffusers/pipelines/deprecated/audio_diffusion/pipeline_audio_diffusion.py:61
↓ 1 callersFunctionget_diffusers_versions
()
diffusers/src/diffusers/utils/dynamic_modules_utils.py:42
↓ 1 callersFunctionget_discretized_lognormal_weights
Calculates the unnormalized weights for a 1D array of noise level sigma_i based on the discretized lognormal" " distribution used in the iCT
diffusers/examples/research_projects/consistency_training/train_cm_ct_unconditional.py:129
↓ 1 callersFunctionget_down_block
( down_block_type, num_layers, in_channels, out_channels, temb_channels, add_downsampl
diffusers/src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:44
↓ 1 callersFunctionget_down_block
( down_block_type, num_layers, in_channels, out_channels, temb_channels, add_downsampl
diffusers/src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:892
↓ 1 callersFunctionget_down_block_adapter
( base_in_channels: int, base_out_channels: int, ctrl_in_channels: int, ctrl_out_channels: int
diffusers/src/diffusers/models/controlnet_xs.py:105
← previousnext →3,301–3,400 of 13,352, ranked by callers