TargetType#

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

Role alias for model/dataset target in the image-classification protocol family.

Use TargetType in generic protocol contexts where the type parameter represents “target position”. Currently equivalent to ImgClassification.