Image#

maite.protocols.image_classification.Image#

Semantic alias for a single image datum.

Use Image when you want to emphasize domain meaning (“this value is an image”), rather than protocol position. Expected shape semantics are (C, H, W).

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