GetFeatureByLabel
| API定义 | APP_ERROR GetFeatureByLabel(int64_t count, const int64_t *labels, void *features); | 
|---|---|
| 功能描述 | 获取指定Label的特征。 | 
| 输入 | int64_t count:获取特征的数量。 const int64_t *labels:特征Label。 | 
| 输出 | void *features:根据指定Label获取的特征,汉明距离为uint8_t类型的数据,Int8Flat为int8_t类型,Fp16Flat距离为float类型。 | 
| 返回值 | APP_ERROR:调用返回状态,具体请参见接口调用返回值参考。 | 
| 约束说明 | 
 | 
父主题: AscendIndexTS