MCPcopy Create free account
hub / github.com/SooLab/CGFormer / collate_fn

Function collate_fn

utils/misc.py:312–314  ·  view source on GitHub ↗
(batch)

Source from the content-addressed store, hash-verified

310 return lr_scheduler
311
312def collate_fn(batch):
313 batch = list(zip(*batch))
314 return tuple(batch)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected