Article ID: 000059990 Content Type: Product Information & Documentation Last Reviewed: 05/20/2022

Is It Possible to Safely Replace Instances of “IENetwork.inputs” with “IENetwork.input_info” in OpenVINO™ C Applications?

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

How to access the input DataPtr property of the IENetwork class in various OpenVINO™ versions.

Description

Unable to determine when to use IENetwork.input or IENetwork.input_info  in various OpenVINO™ versions.

Resolution

Starting from OpenVINO™ 2020.4, inputs property of IENetwork class is deprecated.

For OpenVINO™ 2020.3 and earlier:

Use the inputs property of IENetwork class to access DataPtr.

For OpenVINO™ 2020.4 and later:

Use input_info property of IENetwork class to access DataPtr.

Related Products

This article applies to 2 products