MCPcopy Create free account
hub / github.com/MotrixLab/FineMoGen / __call__

Method __call__

mogen/datasets/pipelines/compose.py:30–35  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

28 f' {type(transform)}')
29
30 def __call__(self, data):
31 for t in self.transforms:
32 data = t(data)
33 if data is None:
34 return None
35 return data
36
37 def __repr__(self):
38 format_string = self.__class__.__name__ + '('

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected