MCPcopy Create free account
hub / github.com/Topdu/OpenOCR / __call__

Method __call__

tools/data/collate_fn.py:51–53  ·  view source on GitHub ↗
(self, batch)

Source from the content-addressed store, hash-verified

49 """
50
51 def __call__(self, batch):
52 output = [np.concatenate(d, axis=0) for d in zip(*batch)]
53 return output
54
55
56class DyMaskCollator(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected