MCPcopy
hub / github.com/openai/improved-diffusion / __init__

Method __init__

improved_diffusion/unet.py:533–534  ·  view source on GitHub ↗
(self, in_channels, *args, **kwargs)

Source from the content-addressed store, hash-verified

531 """
532
533 def __init__(self, in_channels, *args, **kwargs):
534 super().__init__(in_channels * 2, *args, **kwargs)
535
536 def forward(self, x, timesteps, low_res=None, **kwargs):
537 _, _, new_height, new_width = x.shape

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected