MCPcopy Create free account
hub / github.com/HiLab-git/ACELoss / __init__

Method __init__

aceloss.py:62–66  ·  view source on GitHub ↗
(self, miu=1.0, classes=3)

Source from the content-addressed store, hash-verified

60 """
61
62 def __init__(self, miu=1.0, classes=3):
63 super(ACLossV2, self).__init__()
64
65 self.miu = miu
66 self.classes = classes
67
68 def forward(self, predication, label):
69 min_pool_x = nn.functional.max_pool2d(

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected