Starting from the 2020.4 release, OpenVINO™ supports reading native ONNX models. Core::ReadNetwork()
method provides a uniform way to read models from IR or ONNX format, it is a recommended approach to reading models. Example:
OpenVINO™ doesn't provide a mechanism to specify pre-processing (like mean values subtraction, reverse input channels) for the ONNX format. If an ONNX model contains dynamic shapes for input, please use the CNNNetwork::reshape
method for shape specialization.
Unsupported types of tensors:
string
,complex64
,complex128
.