nn_tensor_dequantize

Function nn_tensor_dequantize 

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

De-quantizes the source tensor into the destination tensor.

The source tensor should be integer and the destination float. The source tensor must have quantization parameters otherwise the operation will simply cast the integer data to float.

@public @memberof NNTensor @since 2.4