MCPcopy Create free account
hub / github.com/deepbrainai-research/float / forward

Method forward

models/float/styledecoder.py:67–68  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

65 super().__init__()
66
67 def forward(self, input):
68 return input * torch.rsqrt(torch.mean(input ** 2, dim=2, keepdim=True) + 1e-8)
69
70class Upsample(nn.Module):
71 def __init__(self, kernel, factor=2):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected