Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexrame/fishr
/ predict
Method
predict
domainbed/algorithms.py:284–285 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
282
return
{
'gen_loss'
: gen_loss.item()}
283
284
def
predict(self, x):
285
return
self.classifier(self.featurizer(x))
286
287
288
class
DANN(AbstractDANN):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected