MCPcopy Create free account
hub / github.com/ali-vilab/dreamtalk / forward

Method forward

generators/base_function.py:106–109  ·  view source on GitHub ↗
(self, x, z)

Source from the content-addressed store, hash-verified

104 self.actvn = nonlinearity
105
106 def forward(self, x, z):
107 x = self.conv_0(self.actvn(self.norm_0(x, z)))
108 x = self.conv_1(self.actvn(self.norm_1(x, z)))
109 return x
110
111class ADAINDecoderBlock(nn.Module):
112 def __init__(self, input_nc, output_nc, hidden_nc, feature_nc, use_transpose=True, nonlinearity=nn.LeakyReLU(), use_spect=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected