MCPcopy Create free account
hub / github.com/Gadersd/stable-diffusion-burn / run

Method run

python/dump.py:333–337  ·  view source on GitHub ↗
(x, bb)

Source from the content-addressed store, hash-verified

331
332
333 def run(x, bb):
334 if isinstance(bb, ResBlock): x = bb(x, emb)
335 elif isinstance(bb, SpatialTransformer): x = bb(x, context)
336 else: x = bb(x)
337 return x
338
339 saved_inputs = []
340 for i,b in enumerate(self.input_blocks):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected