Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MatrixTeam-AI/RAIN
/ functions
Functions
352 in github.com/MatrixTeam-AI/RAIN
⨍
Functions
352
◇
Types & classes
79
Method
get_dynamic_axes
(self)
src/modeling/framed_models.py:163
Method
get_dynamic_axes
(self)
src/modeling/framed_models.py:192
Method
get_input_names
(self)
src/modeling/framed_models.py:128
Method
get_input_names
(self)
src/modeling/framed_models.py:157
Method
get_input_names
(self)
src/modeling/framed_models.py:186
Method
get_output_names
(self)
src/modeling/framed_models.py:131
Method
get_output_names
(self)
src/modeling/framed_models.py:160
Method
get_output_names
(self)
src/modeling/framed_models.py:189
Method
get_sample_input
(self, batchsize, height, width, dtype, device)
src/modeling/framed_models.py:115
Method
get_sample_input
(self, batchsize, height, width, dtype, device)
src/modeling/framed_models.py:145
Method
get_sample_input
(self, batchsize, height, width, dtype, device)
src/modeling/framed_models.py:174
Function
get_up_block
( up_block_type, num_layers, in_channels, out_channels, prev_output_channel, temb_chan
src/models/unet_3d_blocks.py:98
Method
get_velocity
( self, sample: torch.FloatTensor, noise: torch.FloatTensor, timesteps: torch.IntTensor )
src/scheduler/scheduler_lcm.py:511
Method
guidance_scale_embedding
(w, embedding_dim=512, dtype=torch.float32)
src/morpher.py:66
Method
guidance_scale_embedding
(w, embedding_dim=512, dtype=torch.float32)
src/pipeline/pipeline_pose2vid_lcm.py:334
Method
hacked_basic_transformer_inner_forward
( self, hidden_states: torch.FloatTensor, attention_mask: Optional[torch.F
src/models/mutual_self_attention.py:98
Function
handDetect
(candidate, subset, oriImg)
src/dwpose/util.py:202
Function
handle_onnx_batch_norm
(onnx_path: str)
src/modeling/onnx_export.py:98
Method
imgmxn
(self, imgs, m, n=None, size = None, centercrop=False)
src/morpher.py:749
Method
latentsmxn
(self, latents, m, n=None, size=None, centercrop=False)
src/morpher.py:762
Method
link
(self, other, var_map, skip_check=SKIP_ENGINE_MODEL_CHECK)
src/modeling/engine_model.py:206
Function
npmax
(array)
src/dwpose/util.py:339
Function
padRightDownCorner
(img, stride, padValue)
src/dwpose/util.py:38
Method
previous_timestep
(self, timestep)
src/scheduler/scheduler_lcm.py:535
Function
reload_ref
()
gradio_app.py:77
Function
render_pose
(frame)
gradio_app.py:111
Method
save_video
(self, imgs, vid_file_name, fps=24)
src/morpher.py:709
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/scheduler/scheduler_lcm.py:266
Method
seed
(self, x)
src/morpher.py:410
Method
set_attention_slice
r""" Set the slice size for attention computation. Args: slice_size (`int`): The slice size for attention
src/models/attention_processor.py:343
Method
set_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
src/models/unet_3d_explicit_reference.py:383
Method
set_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
src/models/unet_3d.py:383
Method
set_chunk_feed_forward
(self, chunk_size: Optional[int], dim: int = 0)
src/models/attention.py:174
Method
set_default_attn_processor
Disables custom attention processors and sets the default attention implementation.
src/models/unet_2d_condition.py:741
Method
set_patterns
(self, patterns)
src/dwpose/__init__.py:51
Function
set_translations
(frame)
gradio_app.py:121
Method
set_translations
(self, translations)
src/dwpose/__init__.py:48
Method
set_use_memory_efficient_attention_xformers
r""" Set whether to use memory efficient attention from `xformers` or not. Args: use_memory_efficient_attention_xformers
src/models/attention_processor.py:209
Method
set_use_memory_efficient_attention_xformers
( self, use_memory_efficient_attention_xformers: bool, attention_op: Optional[Callable
src/models/motion_module.py:309
Function
smart_resize
(x, s)
src/dwpose/util.py:10
Function
smart_resize_k
(x, fx, fy)
src/dwpose/util.py:24
Function
start_offline_process
(vid)
gradio_app.py:150
Function
start_process
()
gradio_app.py:98
Method
step_index
(self)
src/scheduler/scheduler_lcm.py:263
Function
stop_offline_process
()
gradio_app.py:202
Function
stop_process
()
gradio_app.py:105
Method
thread_func
(self_, wait_after)
src/morpher.py:648
Function
transfer
(model, model_weights)
src/dwpose/util.py:61
Function
transform_func
(frame)
gradio_app.py:40
Method
unlink
(self)
src/modeling/engine_model.py:261
Function
unload_ref
()
gradio_app.py:73
Method
videomxn
(self, vids, m, n=None, size=None, length=None, centercrop=True)
src/morpher.py:689
← previous
301–352 of 352, ranked by callers