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
labels: Vec<String>
Cifar10 lables.
["airplane", "automobile", "bird", "cat", "deer", "dog", "frog", "horse", "ship", "truck"]
train_count: usize
Count of training datas.
50000 datas
test_count: usize
Count of test datas.
10000 datas
train_dataset: Vec<CifarImage>
Dataset for training.
test_dataset: Vec<CifarImage>
Dataset for test.