Method__init__(
self, embedding_size: int = 256, scale: float = 1.0, set_W_to_weight=True, log=True, flip_sin_to_cos
magicanimate/models/embeddings.py:241
Method__init__(
self,
num_embed: int,
height: int,
width: int,
embed_dim: int,
)
magicanimate/models/embeddings.py:292
Method__init__(self, channels, use_conv=False, out_channels=None, padding=1, name="conv")
magicanimate/models/resnet.py:88
Methodforward(
self,
sample: torch.FloatTensor,
timestep: Union[torch.Tensor, float, int],
magicanimate/models/controlnet.py:453
Methodforward(self, hidden_states, encoder_hidden_states=None, timestep=None, attention_mask=None, video_length=None)
magicanimate/models/attention.py:276
Methodforward(self, hidden_states, res_hidden_states_tuple, temb=None, upsample_size=None, encoder_hidden_states=None,)
magicanimate/models/unet_3d_blocks.py:726
Methodforward(self, input_tensor, temb, encoder_hidden_states, attention_mask=None, anchor_frame_idx=None)
magicanimate/models/motion_module.py:82