MCPcopy Create free account

hub / github.com/MatrixTeam-AI/RAIN / types & classes

Types & classes79 in github.com/MatrixTeam-AI/RAIN

↓ 47 callersClasstranslation
src/modeling/translation.py:4
↓ 13 callersClassInflatedConv3d
src/models/resnet.py:9
↓ 10 callersClassBlock
src/taesdv/taesdv.py:19
↓ 10 callersClassMemBlock
src/taesdv/taesdv.py:28
↓ 7 callersClassAttnProcessor
r""" Default processor for performing attention-related computations.
src/models/attention_processor.py:694
↓ 7 callersClassReferenceAttentionControl
src/models/mutual_self_attention.py:19
↓ 6 callersClassAttention
r""" A cross attention layer. Parameters: query_dim (`int`): The number of channels in the query. cross_attention
src/models/attention_processor.py:38
↓ 6 callersClassResnetBlock3D
src/models/resnet.py:123
↓ 4 callersClassAttnProcessor2_0
r""" Processor for implementing scaled dot-product attention (enabled by default if you're using PyTorch 2.0).
src/models/attention_processor.py:1180
↓ 4 callersClassInflatedGroupNorm
src/models/resnet.py:20
↓ 3 callersClassAttnAddedKVProcessor
r""" Processor for performing attention-related computations with extra learnable key and value matrices for the text encoder.
src/models/attention_processor.py:867
↓ 3 callersClassLCMScheduler
`LCMScheduler` extends the denoising procedure introduced in denoising diffusion probabilistic models (DDPMs) with non-Markovian guidance.
src/scheduler/scheduler_lcm.py:135
↓ 3 callersClassPoseGuider
src/models/pose_guider.py:12
↓ 3 callersClassTransformer2DModel
A 2D Transformer model for image-like data. Parameters: num_attention_heads (`int`, *optional*, defaults to 16): The number of heads
src/models/transformer_2d.py:32
↓ 3 callersClassTransformer3DModel
src/models/transformer_3d.py:27
↓ 2 callersClassDWposeDetector
src/dwpose/__init__.py:35
↓ 2 callersClassDownsample3D
src/models/resnet.py:93
↓ 2 callersClassTAESDV
src/taesdv/taesdv.py:37
↓ 2 callersClassUNetMidBlock3DCrossAttn
src/models/unet_3d_blocks.py:179
↓ 2 callersClassUpsample3D
src/models/resnet.py:31
↓ 2 callersClassXFormersAttnProcessor
r""" Processor for implementing memory efficient attention using xFormers. Args: attention_op (`Callable`, *optional*, defaults to `N
src/models/attention_processor.py:1075
↓ 1 callersClassBasicTransformerBlock
r""" A basic Transformer block. Parameters: dim (`int`): The number of channels in the input and output. num_attention_heads
src/models/attention.py:13
↓ 1 callersClassClamp
src/taesdv/taesdv.py:15
↓ 1 callersClassCrossAttnDownBlock2D
src/models/unet_2d_blocks.py:510
↓ 1 callersClassCrossAttnDownBlock3D
src/models/unet_3d_blocks.py:315
↓ 1 callersClassCrossAttnUpBlock2D
src/models/unet_2d_blocks.py:779
↓ 1 callersClassCrossAttnUpBlock3D
src/models/unet_3d_blocks.py:623
↓ 1 callersClassCustomDiffusionXFormersAttnProcessor
r""" Processor for implementing memory efficient attention using xFormers for the Custom Diffusion method. Args: train_kv (`bool`, defaul
src/models/attention_processor.py:1268
↓ 1 callersClassDownBlock2D
src/models/unet_2d_blocks.py:681
↓ 1 callersClassDownBlock3D
src/models/unet_3d_blocks.py:504
↓ 1 callersClassEngineModel
src/modeling/engine_model.py:54
↓ 1 callersClassLCMSchedulerOutput
Output class for the scheduler's `step` function output. Args: prev_sample (`torch.FloatTensor` of shape `(batch_size, num_channels,
src/scheduler/scheduler_lcm.py:36
↓ 1 callersClassLoRAXFormersAttnProcessor
r""" Processor for implementing the LoRA attention mechanism with memory efficient attention using xFormers. Args: hidden_size (`int`
src/models/attention_processor.py:1854
↓ 1 callersClassMish
src/models/resnet.py:254
↓ 1 callersClassPose2VideoPipelineLCM
src/pipeline/pipeline_pose2vid_lcm.py:27
↓ 1 callersClassPose2VideoPipelineOutput
src/pipeline/pipeline_pose2vid_lcm.py:23
↓ 1 callersClassPose2VideoPipelineOutput
src/pipeline/pipeline_pose2vid.py:23
↓ 1 callersClassPositionalEncoding
src/models/motion_module.py:262
↓ 1 callersClassRAINMorpher
src/morpher.py:33
↓ 1 callersClassSlicedAttnAddedKVProcessor
r""" Processor for implementing sliced attention with extra learnable key and value matrices for the text encoder. Args: slice_size (
src/models/attention_processor.py:1585
↓ 1 callersClassSlicedAttnProcessor
r""" Processor for implementing sliced attention. Args: slice_size (`int`, *optional*): The number of steps to compute at
src/models/attention_processor.py:1498
↓ 1 callersClassSpatialNorm
Spatially conditioned normalization as defined in https://arxiv.org/abs/2209.09002. Args: f_channels (`int`): The number
src/models/attention_processor.py:1677
↓ 1 callersClassTemporalBasicTransformerBlock
src/models/attention.py:300
↓ 1 callersClassTemporalTransformer3DModel
src/models/motion_module.py:94
↓ 1 callersClassTemporalTransformerBlock
src/models/motion_module.py:185
↓ 1 callersClassTransformer2DModelOutput
The output of [`Transformer2DModel`]. Args: sample (`torch.FloatTensor` of shape `(batch_size, num_channels, height, width)` or `(ba
src/models/transformer_2d.py:18
↓ 1 callersClassTransformer3DModelOutput
src/models/transformer_3d.py:16
↓ 1 callersClassUNet2DConditionOutput
The output of [`UNet2DConditionModel`]. Args: sample (`torch.FloatTensor` of shape `(batch_size, num_channels, height, width)`):
src/models/unet_2d_condition.py:51
↓ 1 callersClassUNet3DConditionOutput
src/models/unet_3d.py:30
↓ 1 callersClassUNetMidBlock2D
A 2D UNet mid-block [`UNetMidBlock2D`] with multiple residual blocks and optional attention blocks. Args: in_channels (`int`): The n
src/models/unet_2d_blocks.py:223
↓ 1 callersClassUNetMidBlock2DCrossAttn
src/models/unet_2d_blocks.py:356
↓ 1 callersClassUpBlock2D
src/models/unet_2d_blocks.py:962
↓ 1 callersClassUpBlock3D
src/models/unet_3d_blocks.py:804
↓ 1 callersClassVanillaTemporalModule
src/models/motion_module.py:44
↓ 1 callersClassVersatileAttention
src/models/motion_module.py:280
↓ 1 callersClassVideoTensorReader
src/taesdv/taesdv.py:172
↓ 1 callersClassVideoTensorWriter
src/taesdv/taesdv.py:186
↓ 1 callersClassWholebody
src/dwpose/wholebody.py:8
↓ 1 callersClassXFormersAttnAddedKVProcessor
r""" Processor for implementing memory efficient attention using xFormers. Args: attention_op (`Callable`, *optional*, defaults to `N
src/models/attention_processor.py:1004
↓ 1 callersClassclip_model
src/modeling/framed_models.py:166
↓ 1 callersClassreference_net
src/modeling/framed_models.py:103
↓ 1 callersClassunet_work
src/modeling/framed_models.py:5
↓ 1 callersClassvae_encoder
src/modeling/framed_models.py:137
ClassAttnAddedKVProcessor2_0
r""" Processor for performing scaled dot-product attention (enabled by default if you're using PyTorch 2.0), with extra learnable key and valu
src/models/attention_processor.py:931
ClassAutoencoderTinyBlock
Tiny Autoencoder block used in [`AutoencoderTiny`]. It is a mini residual module consisting of plain conv + ReLU blocks. Args: i
src/models/unet_2d_blocks.py:186
ClassCustomDiffusionAttnProcessor
r""" Processor for implementing attention for the Custom Diffusion method. Args: train_kv (`bool`, defaults to `True`): W
src/models/attention_processor.py:763
ClassCustomDiffusionAttnProcessor2_0
r""" Processor for implementing attention for the Custom Diffusion method using PyTorch 2.0’s memory-efficient scaled dot-product attention.
src/models/attention_processor.py:1384
ClassIPAdapterAttnProcessor
r""" Attention processor for IP-Adapater. Args: hidden_size (`int`): The hidden size of the attention layer. cros
src/models/attention_processor.py:1992
ClassIPAdapterAttnProcessor2_0
r""" Attention processor for IP-Adapater for PyTorch 2.0. Args: hidden_size (`int`): The hidden size of the attention lay
src/models/attention_processor.py:2102
ClassKandi3AttnProcessor
r""" Default kandinsky3 proccesor for performing attention-related computations.
src/models/attention_processor.py:2238
ClassLoRAAttnAddedKVProcessor
r""" Processor for implementing the LoRA attention mechanism with extra learnable key and value matrices for the text encoder. Args:
src/models/attention_processor.py:1933
ClassLoRAAttnProcessor
r""" Processor for implementing the LoRA attention mechanism. Args: hidden_size (`int`, *optional*): The hidden size of t
src/models/attention_processor.py:1707
ClassLoRAAttnProcessor2_0
r""" Processor for implementing the LoRA attention mechanism using PyTorch 2.0's memory-efficient scaled dot-product attention. Args:
src/models/attention_processor.py:1779
ClassPose2VideoPipeline
src/pipeline/pipeline_pose2vid.py:27
ClassTemporalTransformer3DModelOutput
src/models/motion_module.py:23
ClassUNet2DConditionModel
r""" A conditional 2D UNet model that takes a noisy sample, conditional state, and a timestep and returns a sample shaped output. This mo
src/models/unet_2d_condition.py:64
ClassUNet3DConditionModel
src/models/unet_3d.py:34
ClassUNet3DConditionModelExplicitReference
src/models/unet_3d_explicit_reference.py:34
ClassUNet3DConditionOutput
src/models/unet_3d_explicit_reference.py:30