MCPcopy Create free account
hub / github.com/dome272/Diffusion-Models-pytorch / forward

Method forward

modules.py:72–76  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

70 )
71
72 def forward(self, x):
73 if self.residual:
74 return F.gelu(x + self.double_conv(x))
75 else:
76 return self.double_conv(x)
77
78
79class Down(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected