* Updated core documentation * Update README.md * Update api_details.md * Update api_details.md * Update src/core/docs/api_details.md Co-authored-by: Tatiana Savina <tatiana.savina@intel.com> * Update src/core/docs/api_details.md Co-authored-by: Tatiana Savina <tatiana.savina@intel.com> * Update src/core/docs/api_details.md Co-authored-by: Tatiana Savina <tatiana.savina@intel.com> * Update src/core/docs/api_details.md Co-authored-by: Tatiana Savina <tatiana.savina@intel.com> * Fixed comments * Update src/core/docs/debug_capabilities.md Co-authored-by: Tatiana Savina <tatiana.savina@intel.com> Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2.4 KiB
2.4 KiB
OpenVINO Core API
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.
Structure of Core API
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
Main structures for model representation
ov::Modelis located in openvino/core/model.hpp and provides API for model representation. For more details, read OpenVINO Model Representation Guide.ov::Nodeis a base class for all OpenVINO operations, the class is located in the openvino/core/node.hpp.ov::Shapeandov::PartialShapeclasses 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::Typeclass represents element type for OpenVINO Tensors and Operations. The class is located in the openvino/core/type/element_type.hpp.ov::Tensoris used for memory representation inside OpenVINO. The class is located in the openvino/runtime/tensor.hpp.