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

Method __init__

models/float/styledecoder.py:419–422  ·  view source on GitHub ↗
(self, motion_dim)

Source from the content-addressed store, hash-verified

417
418class Direction(nn.Module):
419 def __init__(self, motion_dim):
420 super(Direction, self).__init__()
421
422 self.weight = nn.Parameter(torch.randn(512, motion_dim))
423
424 def forward(self, input):
425 weight = self.weight + 1e-8

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected