MCPcopy Create free account
hub / github.com/MetaSLAM/SphereVLAD / collate_fn

Function collate_fn

dataloader/utils.py:7–15  ·  view source on GitHub ↗

Collate_functions Args: batch (list): input batch for training

(batch)

Source from the content-addressed store, hash-verified

5 config (class): parameter configurations
6 """
7 def collate_fn(batch):
8 """Collate_functions
9
10 Args:
11 batch (list): input batch for training
12 """
13 if config.TRAINING.IS_TRAIN and config.TRAINING.BATCH.BATCH_TRANSFORM:
14 pass
15 return batch
16 return collate_fn

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected