AscendVectorTransformConfig

API Definition

inline AscendVectorTransformConfig(std::initializer_list<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::initializer_list<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.