MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / forward

Method forward

ldm/modules/diffusionmodules/openaimodel.py:159–161  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

157 self.op = avg_pool_nd(dims, kernel_size=stride, stride=stride)
158
159 def forward(self, x):
160 assert x.shape[1] == self.channels
161 return self.op(x)
162
163
164class ResBlock(TimestepBlock):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected