Cifar100DataLoader<T>

Models & Types · AiDotNet.Data.Vision.Benchmarks

Loads the CIFAR-100 image classification dataset (50k train / 10k test, 32x32 RGB, 100 fine / 20 coarse classes).

Inheritance: DataLoaderBase<T> → InputOutputDataLoaderBase<T, Tensor<T>, Tensor<T>> → Cifar100DataLoader<T>

How It Works

CIFAR-100 has 100 fine-grained classes grouped into 20 superclasses. Each sample is stored as 2 bytes (coarse label, fine label) + 3072 bytes of pixel data.

Constructors

Constructor Summary
Cifar100DataLoader(Cifar100DataLoaderOptions options) Creates a new CIFAR-100 data loader.

Properties

Property Summary
int FeatureCount { get; }
int OutputDimension { get; }
int TotalCount { get; }
string Description { get; }
string Name { get; }

Methods

Method Summary
ValueTuple<IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>, IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>, IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>> Split(double trainRatio, double validationRatio, int? seed)