MCPcopy Index your code
hub / github.com/openai/guided-diffusion / __init__

Method __init__

guided_diffusion/unet.py:673–674  ·  view source on GitHub ↗
(self, image_size, in_channels, *args, **kwargs)

Source from the content-addressed store, hash-verified

671 """
672
673 def __init__(self, image_size, in_channels, *args, **kwargs):
674 super().__init__(image_size, in_channels * 2, *args, **kwargs)
675
676 def forward(self, x, timesteps, low_res=None, **kwargs):
677 _, _, new_height, new_width = x.shape

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected