Design
Specification
API
API Mapping
Migration Guide
FAQ
RELEASE NOTES
Get the number of classes in a dataset.
int, number of classes.
Examples
>>> # dataset is an instance object of Dataset >>> num_classes = dataset.num_classes()