Basics¶
Overview¶
OpenVINO Core C++ API to work with ov::Model, dynamic and static shapes, types More…
// structs
struct ov::DiscreteTypeInfo;
// classes
class ov::Dimension;
class ov::Extension;
template <>
class ov::Input<Node>;
template <>
class ov::Input<const Node>;
class ov::Model;
class ov::Node;
template <>
class ov::Output<const Node>;
template <>
class ov::Output<Node>;
class ov::PartialShape;
class ov::preprocess::PrePostProcessor;
class ov::Shape;
// global functions
OPENVINO_API std::shared_ptr<ov::Model> ov::clone_model(const ov::Model& model);
template <typename SHAPE_TYPE>
size_t ov::shape_size(const SHAPE_TYPE& shape);
template <typename ForwardIt>
size_t ov::shape_size(
ForwardIt start_dim,
const ForwardIt end_dim
);
Detailed Documentation¶
OpenVINO Core C++ API to work with ov::Model, dynamic and static shapes, types
Global Functions¶
OPENVINO_API std::shared_ptr<ov::Model> ov::clone_model(const ov::Model& model)
input model is cloned and returned
template <typename SHAPE_TYPE>
size_t ov::shape_size(const SHAPE_TYPE& shape)
Number of elements in spanned by a shape.
template <typename ForwardIt>
size_t ov::shape_size(
ForwardIt start_dim,
const ForwardIt end_dim
)
Number of elements in a subset of dimensions of a shape. Returns a product of dimensions in a range [start_dim;end_dim)