Whether the device supports optimization can be determined using get_dl_device_param with 'conversion_supported'. After a successful execution, optimize_dl_model_for_inference sets the parameter 'precision_is_c
DLModelHandleConverted(output_control)dl_model→(handle) Output model with new precision. ConversionReport(output_control)dict→(handle) Output report for conversion. Result If the parameters are valid, the operatoroptimize_dl_model_for_inferencereturns the value2(H_MSG_TRUE). If necessary, an exc...
device for which the model is optimized. Whether the device supports optimization can be determined usingget_dl_device_paramwith'conversion_supported'. After a successful execution,optimize_dl_model_for_inferencesets the parameter'precision_is_converted'to'true'for the output modelDLModelHandleConverted...