AscendIndexPreTransform

API Definition

AscendIndexPreTransform(AscendIndex *index)

Function

Constructs an AscendIndexPreTransform object based on existing AscendIndex resources.

Input

AscendIndex *index: Faiss object that performs linear transformation on the CPU.

Output

N/A

Return Value

N/A

Restrictions

The index must be a valid CPUindex pointer.