MCPcopy Create free account
hub / github.com/LTH14/rcg / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

682 """
683
684 def __init__(self, image_size, in_channels, *args, **kwargs):
685 super().__init__(image_size, in_channels * 2, *args, **kwargs)
686
687 def forward(self, x, timesteps, low_res=None, **kwargs):
688 _, _, new_height, new_width = x.shape

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected