MCPcopy Create free account
hub / github.com/alexrame/fishr / forward_c

Method forward_c

domainbed/algorithms.py:786–788  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

784 self.weight_adv = hparams["sag_w_adv"]
785
786 def forward_c(self, x):
787 # learning content network on randomized style
788 return self.network_c(self.randomize(self.network_f(x), "style"))
789
790 def forward_s(self, x):
791 # learning style network on randomized content

Callers 1

updateMethod · 0.95

Calls 1

randomizeMethod · 0.95

Tested by

no test coverage detected