OpenVINO Core API contains two folders:
- ngraph - is a legacy API, this API is no longer being developed. Only aliases to new operations and operation sets extend this API.
- openvino - current public API, this part is described below.
openvino/ // Common folder with OpenVINO 2.0 API
core/ // Contains common classes which are responsible for model representation
op/ // Contains all supported OpenVINO operations
opsets/ // Contains definitions of each official OpenVINO opset
pass/ // Defines classes for developing transformation and several common transformations
runtime/ // Contains OpenVINO tensor definition
ov::Model
is located in openvino/core/model.hpp and provides API for model representation. For more details, read OpenVINO Model Representation Guide.ov::Node
is a base class for all OpenVINO operations, the class is located in the openvino/core/node.hpp.ov::Shape
andov::PartialShape
classes represent shapes in OpenVINO, these classes are located in the openvino/core/shape.hpp and openvino/core/partial_shape.hpp respectively. For more information, read OpenVINO Shapes representation.ov::element::Type
class represents element type for OpenVINO Tensors and Operations. The class is located in the openvino/core/type/element_type.hpp.ov::Tensor
is used for memory representation inside OpenVINO. The class is located in the openvino/runtime/tensor.hpp.