pub unsafe extern "C" fn ANeuralNetworksModel_setOperandSymmPerChannelQuantParams(
model: *mut ANeuralNetworksModel,
index: i32,
channelQuant: *const ANeuralNetworksSymmPerChannelQuantParams,
) -> c_intExpand description
Sets an operand’s per channel quantization parameters.
Sets parameters required by a tensor of type {@link ANEURALNETWORKS_TENSOR_QUANT8_SYMM_PER_CHANNEL}. This function must be called for every tensor of type {@link ANEURALNETWORKS_TENSOR_QUANT8_SYMM_PER_CHANNEL} before calling {@link ANeuralNetworksModel_finish}.
Available since API level 29.
@param model The model to be modified. @param index The index of the model operand we’re setting. @param channelQuant The per channel quantization parameters for the operand. No memory in this struct needs to outlive the call to this function.
@return ANEURALNETWORKS_NO_ERROR if successful.