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

Method forward

pixel_generator/guided_diffusion/unet.py:138–140  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

136 self.op = avg_pool_nd(dims, kernel_size=stride, stride=stride)
137
138 def forward(self, x):
139 assert x.shape[1] == self.channels
140 return self.op(x)
141
142
143class ResBlock(TimestepBlock):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected