Skip to main content

sample_id

Function sample_id 

Source
pub fn sample_id(
    split: DatasetSplit,
    index: u32,
    width: u32,
    height: u32,
) -> SyntheticSampleId
Expand description

Build a sample id. index is 0-based within the split.