GetFeatureByIndice
API definition |
APP_ERROR GetFeatureByIndice(int64_t count, const int64_t *indices, int64_t *labels = nullptr, void *features = nullptr, FeatureAttr *attributes = nullptr, ExtraValAttr *extraVal = nullptr) const; |
|---|---|
Function |
Obtains features by indice. |
Input |
int64_t count: number of features to be obtained. const int64_t *indices: index of the feature to be obtained. |
Output |
int64_t *labels: label corresponding to the feature to be obtained. void *features: feature vector to be obtained. FeatureAttr *attributes: spatiotemporal attribute of the feature to be obtained. ExtraValAttr *extraVal: extra attribute of the feature to be obtained. |
Return value |
APP_ERROR: return status. For details, see Return Code Reference. |
Restrictions |
|
Parent topic: AscendIndexTS