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

Method process

fastai/text/data.py:314–314  ·  view source on GitHub ↗
(self, ds:Collection)

Source from the content-addressed store, hash-verified

312class OpenFileProcessor(PreProcessor):
313 "`PreProcessor` that opens the filenames and read the texts."
314 def process(self, ds:Collection): ds.items = array([self.process_one(item) for item in ds.items], dtype=np.object)
315 def process_one(self,item): return open_text(item) if isinstance(item, Path) else item
316
317class TextList(ItemList):

Callers

nothing calls this directly

Calls 2

process_oneMethod · 0.95
arrayFunction · 0.85

Tested by

no test coverage detected