ImgClassification#

type maite.protocols.image_classification.ImgClassification = Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]#

Semantic alias for a single classification target/prediction vector.

Use ImgClassification when referring to class-label vectors directly (e.g., labels, probabilities, or logits). Expected shape semantics are (Cl,), where ‘Cl’ refers to number of target classes.