MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / transform_source

Method transform_source

DataLoader/Dataset/Train.py:25–27  ·  view source on GitHub ↗
(self, actions: list[T.Callable[[T_Data], T_Data]])

Source from the content-addressed store, hash-verified

23 return data
24
25 def transform_source(self, actions: list[T.Callable[[T_Data], T_Data]]):
26 self.sequence = self.sequence.transform(actions)
27 return self
28
29 @staticmethod
30 def _instantiate_dataset(config: SimpleNamespace, from_idx: int, to_idx: int, do_instantiate: bool) -> "TrainDataset[T_Data] | None":

Callers 1

Calls 1

transformMethod · 0.80

Tested by

no test coverage detected