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

Method __init__

models/float/styledecoder.py:286–289  ·  view source on GitHub ↗
(self, channel, size=4)

Source from the content-addressed store, hash-verified

284
285class ConstantInput(nn.Module):
286 def __init__(self, channel, size=4):
287 super().__init__()
288
289 self.input = nn.Parameter(torch.randn(1, channel, size, size))
290
291 def forward(self, input):
292 batch = input.shape[0]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected