Group Operation sets#

group ov_opset_cpp_api

OpenVINO C++ API to work with operation sets

Functions

const OPENVINO_API OpSet & get_opset1 ()

Returns opset1.

const OPENVINO_API OpSet & get_opset2 ()

Returns opset2.

const OPENVINO_API OpSet & get_opset3 ()

Returns opset3.

const OPENVINO_API OpSet & get_opset4 ()

Returns opset4.

const OPENVINO_API OpSet & get_opset5 ()

Returns opset5.

const OPENVINO_API OpSet & get_opset6 ()

Returns opset6.

const OPENVINO_API OpSet & get_opset7 ()

Returns opset7.

const OPENVINO_API OpSet & get_opset8 ()

Returns opset8.

const OPENVINO_API OpSet & get_opset9 ()

Returns opset9.

const OPENVINO_API OpSet & get_opset10 ()

Returns opset10.

const OPENVINO_API OpSet & get_opset11 ()

Returns opset11.

const OPENVINO_API OpSet & get_opset12 ()

Returns opset12.

const OPENVINO_API OpSet & get_opset13 ()

Returns opset13.

const OPENVINO_API OpSet & get_opset14 ()

Returns opset14.

const OPENVINO_API OpSet & get_opset15 ()

Returns map of available opsets.

const OPENVINO_API std::map< std::string, std::function< const ov::OpSet &()> > & get_available_opsets ()

Returns map of available opsets.

class OpSet#
#include <opset.hpp>

Run-time opset information.

Public Functions

template<typename OP_TYPE>
inline void insert(const std::string &name)#

Insert OP_TYPE into the opset with a special name and the default factory.

template<typename OP_TYPE>
inline void insert()#

Insert OP_TYPE into the opset with the default name and factory.

ov::Node *create(const std::string &name) const#

Create the op named name using it’s factory.

ov::Node *create_insensitive(const std::string &name) const#

Create the op named name using it’s factory.

bool contains_type(const NodeTypeInfo &type_info) const#

Return true if OP_TYPE is in the opset.

template<typename OP_TYPE>
inline bool contains_type() const#

Return true if OP_TYPE is in the opset.

bool contains_type(const std::string &name) const#

Return true if name is in the opset.

bool contains_type_insensitive(const std::string &name) const#

Return true if name is in the opset.

bool contains_op_type(const Node *node) const#

Return true if node’s type is in the opset.