MCPcopy Create free account
hub / github.com/dek924/PerX2CT / forward

Method forward

x2ct_nerf/modules/diffusionmodules/model.py:1264–1274  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

1262 padding=1)
1263
1264 def forward(self, x):
1265 for i, layer in enumerate(self.model):
1266 if i in [1, 2, 3]:
1267 x = layer(x, None)
1268 else:
1269 x = layer(x)
1270
1271 h = self.norm_out(x)
1272 h = nonlinearity(h)
1273 x = self.conv_out(h)
1274 return x
1275
1276
1277class UpsampleDecoder(nn.Module):

Callers

nothing calls this directly

Calls 1

nonlinearityFunction · 0.70

Tested by

no test coverage detected