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

Method forward

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

Source from the content-addressed store, hash-verified

57 padding=1)
58
59 def forward(self, x):
60 x = torch.nn.functional.interpolate(x, scale_factor=2.0, mode="nearest")
61 if self.with_conv:
62 x = self.conv(x)
63 return x
64
65
66class Downsample(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected