Skip to main content

Module cifar_taxonomy

Module cifar_taxonomy 

Source
Expand description

CIFAR-10 & CIFAR-100 Taxonomy & Semantic Resolver.

Provides zero-allocation FNV-1a IRI hashing, class ID lookup, supercategory mapping, and display name resolution for CIFAR-10 (10 classes) and CIFAR-100 (100 fine classes / 20 superclasses).

Constants§

CIFAR_10_CLASSES
CIFAR-10 object classes (Display Name, Class Index 0..9).
CIFAR_100_CLASSES
CIFAR-100 fine classes (Fine Display Name, Class Index 0..99, Superclass Name).

Functions§

lookup_cifar10_class_by_id
Resolve a CIFAR-10 class display name by numeric class index (0..9).
lookup_cifar100_class_by_id
Resolve a CIFAR-100 fine class display name and superclass by numeric fine class index (0..99).
lookup_cifar_class_by_hash
Resolve a CIFAR-10 or CIFAR-100 display name by its deterministic FNV-1a class hash.
q_hash_cifar_class
Compute the deterministic 64-bit FNV-1a class hash for a CIFAR display name.