Choosing a Proper Output Format for VPC to Reduce Buffer Allocation

Background

On the Atlas inference products, the VPC function supports YUV400 output images (grayscale images). If grayscale images are input for model inference, you can use the VPC function directly, with no need for AIPP CSC.

On the Atlas 200I/500 A2 inference products, the VPC function supports YUV400 output images (grayscale images). If grayscale images are input for model inference, you can use the VPC function directly, with no need for AIPP CSC.

On the Atlas A2 training products/Atlas A2 inference products, the VPC function supports YUV400 output images (grayscale images). If grayscale images are input for model inference, you can use the VPC function directly, with no need for AIPP CSC.

On the Atlas A3 training products/Atlas A3 inference products, the VPC function supports YUV400 output images (grayscale images). If grayscale images are input for model inference, you can use the VPC function directly, with no need for AIPP CSC.

Principles

On the Atlas inference products, the VPC function can be used to output YUV400 images (grayscale images). In this way, the AIPP CSC function is not required, reducing the load of the AI Core unit and improving performance.

On the Atlas 200I/500 A2 inference products, the VPC function can be used to output YUV400 images (grayscale images). In this way, the AIPP CSC function is not required, reducing the load of the AI Core unit and improving performance.

On the Atlas A2 training products/Atlas A2 inference products, the VPC function can be used to output YUV400 images (grayscale images). In this way, the AIPP CSC function is not required, reducing the load of the AI Core unit and improving performance.

On the Atlas A3 training products/Atlas A3 inference products, the VPC function can be used to output YUV400 images (grayscale images). In this way, the AIPP CSC function is not required, reducing the load of the AI Core unit and improving performance.

Instructions

For details, see "YUV400 image processing" in Optimization Suggestions.

For details about the sample code of VPC functions, see Typical Functions of VPC.