MCPcopy Create free account
hub / github.com/MotrixLab/insactor / forward

Method forward

diffplanner/models/transformers/diffusion_transformer.py:71–74  ·  view source on GitHub ↗
(self, x, emb, **kwargs)

Source from the content-addressed store, hash-verified

69 self.proj_out = StylizationBlock(latent_dim, time_embed_dim, dropout)
70
71 def forward(self, x, emb, **kwargs):
72 y = self.linear2(self.dropout(self.activation(self.linear1(x))))
73 y = x + self.proj_out(y, emb)
74 return y
75
76
77class DecoderLayer(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected