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

Method __init__

models/ideogram4.py:261–263  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

259
260class Wrapper(nn.Module):
261 def __init__(self, model):
262 super().__init__()
263 self.model = model
264
265 def forward(self, inputs):
266 x_chunk, timesteps, context, attn_mask = inputs

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected