AscendNNInference
API definition |
AscendNNInference(std::vector<int> deviceList, const char* model, uint64_t modelSize); |
|---|---|
Function |
Constructor of AscendNNInference, which generates AscendNNInference. The Ascend AI Processor resources on the device and model path are set based on the values configured in deviceList. |
Input |
std::vector<int> deviceList: device ID const char* model: neural dimension reduction model. uint64_t modelSize: size of the neural dimension reduction model. |
Output |
N/A |
Return value |
N/A |
Restrictions |
|
API definition |
AscendNNInference(const AscendNNInference&) = delete; |
|---|---|
Function |
Declares that the copy constructor of this Index class is void, that is, it cannot be copied. |
Input |
const AscendNNInference&: constant AscendNNInference |
Output |
N/A |
Return value |
N/A |
Restrictions |
N/A |