Image#

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

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).