Choosing a Proper Output Format for VPC to Reduce Buffer Allocation

The VPC function supports YUV400 output images (grayscale images) on the Atlas inference products. If grayscale images are input for model inference, you can use the VPC function directly, and AIPP CSC is not needed.

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, and AIPP CSC is not needed.

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, and AIPP CSC is not needed.

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, and AIPP CSC is not needed.

Principles

The VPC function can be used to output YUV400 images (grayscale images) on the Atlas inference products. 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 about the sample code of VPC functions, see Typical Functions of VPC.