MCPcopy Create free account
hub / github.com/TrustAIResearch/MLHospital / __init__

Method __init__

mlh/data_preprocessing/data_loader.py:457–458  ·  view source on GitHub ↗
(self, classes)

Source from the content-addressed store, hash-verified

455
456class AlltoAllTrans:
457 def __init__(self, classes):
458 self.classes = classes
459
460 def __call__(self, y):
461 return (y+1) % self.classes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected