MCPcopy Create free account
hub / github.com/CompVis/diff2flow / forward

Method forward

diff2flow/tiny_autoencoder.py:15–16  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

13
14class Clamp(nn.Module):
15 def forward(self, x):
16 return torch.tanh(x / 3) * 3
17
18
19class Block(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected