Function: dvpp_set_resize_config_interpolation
C Prototype |
aclError acldvppSetResizeConfigInterpolation(acldvppResizeConfig *resizeConfig, uint32_t interpolation) |
|---|---|
Python Function |
ret = acl.media.dvpp_set_resize_config_interpolation(dvpp_resize_config, interpolation) |
Function Usage |
Sets the image resizing algorithm. |
Input Description |
dvpp_resize_config: int, pointer address of the resizing configuration data to be set. Call acl.media.dvpp_create_resize_config to create data of the acldvppResizeConfig type in advance. interpolation: int, resizing algorithm. You are advised to use the same resizing algorithm as in model training. For the Atlas 200/300/500 Inference Product, the following resizing algorithms are supported:
For the Atlas Training Series Product, the following resizing algorithms are supported:
|
Return Value |
ret: int, error code.
|
Parent topic: VPC