getMetricType

API definition

faiss::MetricType getMetricType() const;

Function

Obtains the distance measurement type used by AscendIndexInt8 to retrieve feature vector similarity.

Input

N/A

Output

N/A

Return value

Distance measurement type used by AscendIndexInt8 to retrieve feature vector similarity.

Restrictions

N/A