MCPcopy Create free account
hub / github.com/SpenserCai/sd-webui-deoldify / __post_init__

Method __post_init__

fastai/basic_data.py:33–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 tfms: List[Callable]=None
32 collate_fn: Callable=data_collate
33 def __post_init__(self):
34 self.dl.collate_fn=self.collate_fn
35 self.tfms = listify(self.tfms)
36
37 def __len__(self)->int: return len(self.dl)
38 def __getattr__(self,k:str)->Any: return getattr(self.dl, k)

Callers

nothing calls this directly

Calls 1

listifyFunction · 0.85

Tested by

no test coverage detected