Method
__init__
(self, size, style_dim=512, motion_dim=20, channel_multiplier=1, blur_kernel=[1, 3, 3, 1])
Source from the content-addressed store, hash-verified
| 6 | |
| 7 | class Generator(BaseModel): |
| 8 | def __init__(self, size, style_dim=512, motion_dim=20, channel_multiplier=1, blur_kernel=[1, 3, 3, 1]): |
| 9 | super().__init__() |
| 10 | |
| 11 | self.enc = Encoder(size, style_dim, motion_dim) |
| 12 | self.dec = Synthesis(size, style_dim, motion_dim, blur_kernel, channel_multiplier) |
| 13 | |
| 14 | def get_direction(self): |
| 15 | return self.dec.direction(None) |
Callers
nothing calls this directly
Tested by
no test coverage detected