↓ 4 callersFunctionget_down_block(
down_block_type,
num_layers,
in_channels,
out_channels,
temb_channels,
add_downsampl
magicanimate/models/unet_3d_blocks.py:30
↓ 3 callersMethodforward(self, q, k, v, sim, attn, is_cross, place_in_unet, num_heads, **kwargs)
magicanimate/models/mutual_self_attention.py:43
↓ 3 callersFunctionget_up_block(
up_block_type,
num_layers,
in_channels,
out_channels,
prev_output_channel,
temb_chan
magicanimate/models/unet_3d_blocks.py:106
↓ 2 callersMethod__init__(self, channels, use_conv=False, use_conv_transpose=False, out_channels=None, name="conv")
magicanimate/models/resnet.py:42
↓ 2 callersMethod_encode_prompt(self, prompt, device, num_videos_per_prompt, do_classifier_free_guidance, negative_prompt)
magicanimate/pipelines/pipeline_animation.py:184
↓ 2 callersMethod_sliced_attention(self, query, key, value, sequence_length, dim, attention_mask)
magicanimate/models/orig_attention.py:686
↓ 2 callersMethodprepare_latents(self, batch_size, num_channels_latents, video_length, height, width, dtype, device, generator, latents=None,
magicanimate/pipelines/pipeline_animation.py:323
↓ 1 callersMethodpredict(self, source_image, motion_sequence, random_seed, step, guidance_scale, save_path, dist_kwargs, size=512)
demo/animate_dist.py:129
↓ 1 callersMethodprepare_condition(self, condition, num_videos_per_prompt, device, dtype, do_classifier_free_guidance)
magicanimate/pipelines/pipeline_animation.py:352
↓ 1 callersMethodprepare_ref_latents(self, refimage, batch_size, dtype, device, generator, do_classifier_free_guidance)
magicanimate/models/stable_diffusion_controlnet_reference.py:73
↓ 1 callersMethodselect_controlnet_res_samples(self, controlnet_res_samples_cache_dict, context, do_classifier_free_guidance, b, f)
magicanimate/pipelines/pipeline_animation.py:496
Method__call__(self, q, k, v, sim, attn, is_cross, place_in_unet, num_heads, **kwargs)
magicanimate/models/mutual_self_attention.py:33