MCPcopy Create free account
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / forward

Method forward

lib/network_auxi.py:207–213  ·  view source on GitHub ↗
(self, low_x, high_x)

Source from the content-addressed store, hash-verified

205 self.init_params()
206
207 def forward(self, low_x, high_x):
208 x = self.ftb1(low_x)
209 x = x + high_x
210 x = self.ftb2(x)
211 x = self.upsample(x)
212
213 return x
214
215 def init_params(self):
216 for m in self.modules():

Callers

nothing calls this directly

Calls 1

upsampleMethod · 0.80

Tested by

no test coverage detected