AscendVectorTransformConfig

API Definition

inline AscendVectorTransformConfig(std::vector<int> devices)

Function

Constructor of AscendVectorTransformConfig, which is used to generate AscendVectorTransformConfig. The processor resources on the NPU are set based on the value configured in devices.

Input

std::vector<int> devices: processor resources on the NPU.

Output

N/A

Return Value

N/A

Restrictions

The value of devices must be a valid processor ID.