MCPcopy Create free account
hub / github.com/CausalLearning/robust-unlearnable-examples / __init__

Method __init__

utils/data.py:10–11  ·  view source on GitHub ↗
(self, trans=None)

Source from the content-addressed store, hash-verified

8
9class ElementWiseTransform():
10 def __init__(self, trans=None):
11 self.trans = trans
12
13 def __call__(self, x):
14 if self.trans is None: return x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected