Realm

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.

FnRust public API

Function Documentation

pub fn collate_host( samples: &[HostSample] ) -> Result<HostBatch>
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.