MCPcopy Create free account
hub / github.com/MooreThreads/Moore-AnimateAnyone / forward

Method forward

src/models/motion_module.py:77–91  ·  view source on GitHub ↗
(
        self,
        input_tensor,
        temb,
        encoder_hidden_states,
        attention_mask=None,
        anchor_frame_idx=None,
    )

Source from the content-addressed store, hash-verified

75 )
76
77 def forward(
78 self,
79 input_tensor,
80 temb,
81 encoder_hidden_states,
82 attention_mask=None,
83 anchor_frame_idx=None,
84 ):
85 hidden_states = input_tensor
86 hidden_states = self.temporal_transformer(
87 hidden_states, encoder_hidden_states, attention_mask
88 )
89
90 output = hidden_states
91 return output
92
93
94class TemporalTransformer3DModel(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected