Expand description
Merges a list of samples to form a batch.
Structs§
- Default
Collate - Default Collate function that mimic the
default_collatefunction fromPyTorch. - NoOp
Collate - Simple Collate that doesn’t change the batch of samples.
- Torch
Collate tch - Torch Collate function that mimic the
default_collatefunction fromPyTorch.
Traits§
- Collate
- Any collate gather samples from one batch together.