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

Method __init__

mlh/data_preprocessing/data_loader.py:429–431  ·  view source on GitHub ↗
(self, mask, pattern)

Source from the content-addressed store, hash-verified

427
428class TriggerTrans:
429 def __init__(self, mask, pattern):
430 self.mask = mask
431 self.pattern = pattern
432
433 def __call__(self, x):
434 x = np.asarray(x)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected