MCPcopy Create free account
hub / github.com/tdrussell/diffusion-pipe / forward

Method forward

models/ideogram4.py:265–268  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

263 self.model = model
264
265 def forward(self, inputs):
266 x_chunk, timesteps, context, attn_mask = inputs
267 out = self.model(x_chunk, timesteps, context=context, attention_mask=attn_mask)
268 return out
269
270
271# class NativeWrapper(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected