API定义 |
AscendIndexGreat(const AscendIndexVstarInitParams& aModeInitParams, const AscendIndexGreatInitParams& kModeInitParams); |
---|---|
功能描述 |
AscendIndexGreat的构造函数,创建Ascend上的检索Index。 |
输入 |
Index所需的初始化参数aModeInitParams和kModeInitParams,具体请参见AscendIndexVstarInitParams和AscendIndexGreatInitParams。 |
输出 |
无 |
返回值 |
APP_ERROR:调用返回状态,具体请参见接口调用返回值参考。 |
约束说明 |
参考AscendIndexVstarInitParams和AscendIndexGreatInitParams中的参数说明和参数约束。 aModeInitParams和kModeInitParams的dim必须保持一致。 |