Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TrustAIResearch/MLHospital
/ AlltoSingleTrans
Class
AlltoSingleTrans
mlh/data_preprocessing/data_loader.py:464–469 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
462
463
464
class
AlltoSingleTrans:
465
def
__init__(self, tar_label):
466
self.tar_label = tar_label
467
468
def
__call__(self, y):
469
return
self.tar_label
Callers
1
prepare_backdoor_attack
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected