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

Class MMD

domainbed/algorithms.py:662–668  ·  view source on GitHub ↗

MMD using Gaussian kernel

Source from the content-addressed store, hash-verified

660
661
662class MMD(AbstractMMD):
663 """
664 MMD using Gaussian kernel
665 """
666
667 def __init__(self, input_shape, num_classes, num_domains, hparams):
668 super(MMD, self).__init__(input_shape, num_classes, num_domains, hparams, gaussian=True)
669
670
671class CORAL(AbstractMMD):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected