ImgClassification#
- maite.protocols.image_classification.ImgClassification#
Semantic alias for a single classification target/prediction vector.
Use
ImgClassificationwhen 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.alias of
Annotated[Buffer|_SupportsArray[dtype[Any]] |_NestedSequence[_SupportsArray[dtype[Any]]] |complex|bytes|str|_NestedSequence[complex|bytes|str], beartype.vale.Is[is_1dim]]