oa::data::collate_host
Collate host samples into one [B, ...] batch. Mirrors collate: identical per-sample shapes and dtypes are required, and label presence must match across the batch. Errors Returns an error for an empty sample list or mismatched components.
Function Documentation
Collate host samples into one [B, ...] batch. Mirrors collate: identical per-sample shapes and dtypes are required, and label presence must match across the batch. Errors Returns an error for an empty sample list or mismatched components.