MCPcopy Create free account
hub / github.com/JunlinHan/DCLGAN / forward

Method forward

models/networks.py:768–772  ·  view source on GitHub ↗
(self, x, y=None)

Source from the content-addressed store, hash-verified

766 self.model = nn.Sequential(*self.model)
767
768 def forward(self, x, y=None):
769 if y is not None:
770 return self.model(cat_feature(x, y))
771 else:
772 return self.model(x)
773
774##################################################################################
775# Sequential Models

Callers

nothing calls this directly

Calls 1

cat_featureFunction · 0.85

Tested by

no test coverage detected