TargetType#

maite.protocols.image_classification.TargetType#

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.

alias of Annotated[Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], beartype.vale.Is[is_1dim]]