Python function
validate_image_shape_5d
validate_image_shape_5d()โ
max.pipelines.core.validate_image_shape_5d(context)
Validates that images have the expected 5-dimensional shape.
-
Parameters:
-
context (TextContext | TextAndVisionContext | PixelContext) โ The context to validate.
-
Raises:
-
InputError โ If the image shape is not 5-dimensional.
-
Return type:
-
None
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!