MCPcopy Create free account
hub / github.com/Royalvice/DocDiff / forward

Method forward

model/DocDiff.py:129–131  ·  view source on GitHub ↗
(self, x: torch.Tensor, t: torch.Tensor)

Source from the content-addressed store, hash-verified

127 self.res = ResidualBlock(in_channels, out_channels, time_channels, is_noise=is_noise)
128
129 def forward(self, x: torch.Tensor, t: torch.Tensor):
130 x = self.res(x, t)
131 return x
132
133
134class UpBlock(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected