Struct cifar_10_loader::CifarDataset [] [src]

pub struct CifarDataset {
    pub labels: Vec<String>,
    pub train_count: usize,
    pub test_count: usize,
    pub train_dataset: Vec<CifarImage>,
    pub test_dataset: Vec<CifarImage>,
}

CifarDataset is Top Level Struct of cifar_10_loader.

CifarDataset include labels of Cifar10, train_datas, test_datas and their count.

Fields

Cifar10 lables.

["airplane", "automobile", "bird", "cat", "deer", "dog", "frog", "horse", "ship", "truck"]

Count of training datas.

50000 datas

Count of test datas.

10000 datas

Dataset for training.

Dataset for test.

Methods

impl CifarDataset
[src]

[src]

Creates a new CifarDataset.