nn_tensor_requantize

Function nn_tensor_requantize 

Source
pub unsafe extern "C" fn nn_tensor_requantize(
    dest: *mut NNTensor,
    source: *mut NNTensor,
) -> NNError
Expand description

Requantizes the source tensor into the destination tensor.

The source tensor and destination tensor should be either I8 or U8, and per tensor quantized.

@public @memberof NNTensor @since 2.4