Skip to main content

cuvsBinaryQuantizerTrain

Function cuvsBinaryQuantizerTrain 

Source
pub unsafe extern "C" fn cuvsBinaryQuantizerTrain(
    res: cuvsResources_t,
    params: cuvsBinaryQuantizerParams_t,
    dataset: *mut DLManagedTensor,
    quantizer: cuvsBinaryQuantizer_t,
) -> cuvsError_t
Expand description

@brief Trains a binary quantizer to be used later for quantizing the dataset.

@param[in] res raft resource @param[in] params configure binary quantizer, e.g. threshold @param[in] dataset a row-major host or device matrix @param[out] quantizer trained binary quantizer