Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KeepTryingTo/Pytorch-GAN
/ forward
Method
forward
StyleGAN/net/model.py:61–63 ·
view source on GitHub ↗
(self,x)
Source
from the content-addressed store, hash-verified
59
torch.nn.init.zeros_(self.bias)
60
61
def
forward(self,x):
62
out = self.linear(x * self.scale) + self.bias
63
return
out
64
65
66
#摆脱输入向量z受输入数据集分布的影响,更好的实现属性解耦合
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected