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

Method __len__

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

Source from the content-addressed store, hash-verified

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)
39 def __setstate__(self,data:Any): self.__dict__.update(data)
40

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected