MCPcopy Create free account
hub / github.com/CDTrans/CDTrans / source_target_train_collate_fn

Function source_target_train_collate_fn

datasets/make_dataloader.py:44–67  ·  view source on GitHub ↗

# collate_fn这个函数的输入就是一个list,list的长度是一个batch size,list中的每个元素都是__getitem__得到的结果

(batch)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected