MCPcopy Create free account
hub / github.com/CompVis/diff2flow / forward

Method forward

diff2flow/models/unet/openaimodel.py:161–163  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected