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

Class DANN

domainbed/algorithms.py:288–294  ·  view source on GitHub ↗

Unconditional DANN

Source from the content-addressed store, hash-verified

286
287
288class DANN(AbstractDANN):
289 """Unconditional DANN"""
290
291 def __init__(self, input_shape, num_classes, num_domains, hparams):
292 super(DANN, self).__init__(
293 input_shape, num_classes, num_domains, hparams, conditional=False, class_balance=False
294 )
295
296
297class CDANN(AbstractDANN):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected