Modify caused by remove version
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
This commit is contained in:
parent
bd0a9502f5
commit
61d265789d
@ -39,12 +39,12 @@ public:
|
|||||||
class Restriction {
|
class Restriction {
|
||||||
public:
|
public:
|
||||||
explicit Restriction(const bool versionIsRequired) : versionIsRequired(versionIsRequired) {}
|
explicit Restriction(const bool versionIsRequired) : versionIsRequired(versionIsRequired) {}
|
||||||
void add(const uint64_t version, const ngraph::pass::low_precision::PrecisionsRestriction::PrecisionsByPorts& precisions) {
|
void add(const std::string version_id, const ngraph::pass::low_precision::PrecisionsRestriction::PrecisionsByPorts& precisions) {
|
||||||
precisionsByVersion.emplace(version, precisions);
|
precisionsByVersion.emplace(version_id, precisions);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool versionIsRequired;
|
bool versionIsRequired;
|
||||||
std::unordered_map<uint64_t, ngraph::pass::low_precision::PrecisionsRestriction::PrecisionsByPorts> precisionsByVersion;
|
std::unordered_map<std::string, ngraph::pass::low_precision::PrecisionsRestriction::PrecisionsByPorts> precisionsByVersion;
|
||||||
};
|
};
|
||||||
|
|
||||||
OPENVINO_RTTI("MarkupPrecisions", "0");
|
OPENVINO_RTTI("MarkupPrecisions", "0");
|
||||||
|
@ -37,12 +37,12 @@ public:
|
|||||||
class PerTensorQuantization {
|
class PerTensorQuantization {
|
||||||
public:
|
public:
|
||||||
explicit PerTensorQuantization(const bool versionIsRequired) : versionIsRequired(versionIsRequired) {}
|
explicit PerTensorQuantization(const bool versionIsRequired) : versionIsRequired(versionIsRequired) {}
|
||||||
void add(const uint64_t version, const std::vector<PortQuantizationGranularityRestriction>& restrictions) {
|
void add(const std::string version_id, const std::vector<PortQuantizationGranularityRestriction>& restrictions) {
|
||||||
portsByVersion.emplace(version, restrictions);
|
portsByVersion.emplace(version_id, restrictions);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool versionIsRequired;
|
bool versionIsRequired;
|
||||||
std::unordered_map<uint64_t, std::vector<PortQuantizationGranularityRestriction>> portsByVersion;
|
std::unordered_map<std::string, std::vector<PortQuantizationGranularityRestriction>> portsByVersion;
|
||||||
};
|
};
|
||||||
|
|
||||||
OPENVINO_RTTI("MarkupPerTensorQuantization", "0");
|
OPENVINO_RTTI("MarkupPerTensorQuantization", "0");
|
||||||
|
@ -23,7 +23,7 @@ namespace ngraph {
|
|||||||
*/
|
*/
|
||||||
class LP_TRANSFORMATIONS_API AvgPoolPrecisionPreservedAttribute : public PrecisionPreservedAttribute {
|
class LP_TRANSFORMATIONS_API AvgPoolPrecisionPreservedAttribute : public PrecisionPreservedAttribute {
|
||||||
public:
|
public:
|
||||||
OPENVINO_RTTI("LowPrecision::AvgPoolPrecisionPreserved", "", ov::RuntimeAttribute, 0);
|
OPENVINO_RTTI("LowPrecision::AvgPoolPrecisionPreserved", "", ov::RuntimeAttribute);
|
||||||
using PrecisionPreservedAttribute::PrecisionPreservedAttribute;
|
using PrecisionPreservedAttribute::PrecisionPreservedAttribute;
|
||||||
void merge_attributes(std::vector<ov::Any>& attributes);
|
void merge_attributes(std::vector<ov::Any>& attributes);
|
||||||
bool is_skipped() const;
|
bool is_skipped() const;
|
||||||
|
@ -58,7 +58,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
class LP_TRANSFORMATIONS_API IntervalsAlignmentAttribute : public SharedAttribute<IntervalsAlignmentSharedValue> {
|
class LP_TRANSFORMATIONS_API IntervalsAlignmentAttribute : public SharedAttribute<IntervalsAlignmentSharedValue> {
|
||||||
public:
|
public:
|
||||||
OPENVINO_RTTI("LowPrecision::IntervalsAlignment", "", ov::RuntimeAttribute, 0);
|
OPENVINO_RTTI("LowPrecision::IntervalsAlignment", "", ov::RuntimeAttribute);
|
||||||
IntervalsAlignmentAttribute() = default;
|
IntervalsAlignmentAttribute() = default;
|
||||||
IntervalsAlignmentAttribute(IntervalsAlignmentSharedValue::Interval combinedInterval, size_t levels);
|
IntervalsAlignmentAttribute(IntervalsAlignmentSharedValue::Interval combinedInterval, size_t levels);
|
||||||
IntervalsAlignmentAttribute(
|
IntervalsAlignmentAttribute(
|
||||||
|
@ -22,7 +22,7 @@ namespace ngraph {
|
|||||||
*/
|
*/
|
||||||
class LP_TRANSFORMATIONS_API PrecisionPreservedAttribute : public SharedAttribute<bool> {
|
class LP_TRANSFORMATIONS_API PrecisionPreservedAttribute : public SharedAttribute<bool> {
|
||||||
public:
|
public:
|
||||||
OPENVINO_RTTI("LowPrecision::PrecisionPreserved", "", ov::RuntimeAttribute, 0);
|
OPENVINO_RTTI("LowPrecision::PrecisionPreserved", "", ov::RuntimeAttribute);
|
||||||
|
|
||||||
PrecisionPreservedAttribute() = default;
|
PrecisionPreservedAttribute() = default;
|
||||||
PrecisionPreservedAttribute(const bool value);
|
PrecisionPreservedAttribute(const bool value);
|
||||||
|
@ -26,7 +26,7 @@ namespace ngraph {
|
|||||||
*/
|
*/
|
||||||
class LP_TRANSFORMATIONS_API PrecisionsAttribute : public SharedAttribute<std::vector<ngraph::element::Type>> {
|
class LP_TRANSFORMATIONS_API PrecisionsAttribute : public SharedAttribute<std::vector<ngraph::element::Type>> {
|
||||||
public:
|
public:
|
||||||
OPENVINO_RTTI("LowPrecision::Precisions", "", ov::RuntimeAttribute, 0);
|
OPENVINO_RTTI("LowPrecision::Precisions", "", ov::RuntimeAttribute);
|
||||||
PrecisionsAttribute(const std::vector<ngraph::element::Type>& precisions);
|
PrecisionsAttribute(const std::vector<ngraph::element::Type>& precisions);
|
||||||
|
|
||||||
static ov::Any create(
|
static ov::Any create(
|
||||||
|
@ -27,7 +27,7 @@ namespace ngraph {
|
|||||||
*/
|
*/
|
||||||
class LP_TRANSFORMATIONS_API QuantizationAlignmentAttribute : public SharedAttribute<bool> {
|
class LP_TRANSFORMATIONS_API QuantizationAlignmentAttribute : public SharedAttribute<bool> {
|
||||||
public:
|
public:
|
||||||
OPENVINO_RTTI("LowPrecision::QuantizationAlignment", "", ov::RuntimeAttribute, 0);
|
OPENVINO_RTTI("LowPrecision::QuantizationAlignment", "", ov::RuntimeAttribute);
|
||||||
QuantizationAlignmentAttribute(const bool value = false);
|
QuantizationAlignmentAttribute(const bool value = false);
|
||||||
|
|
||||||
static ov::Any create(
|
static ov::Any create(
|
||||||
|
@ -22,7 +22,7 @@ namespace ngraph {
|
|||||||
*/
|
*/
|
||||||
class LP_TRANSFORMATIONS_API QuantizationGranularityAttribute : public ov::RuntimeAttribute {
|
class LP_TRANSFORMATIONS_API QuantizationGranularityAttribute : public ov::RuntimeAttribute {
|
||||||
public:
|
public:
|
||||||
OPENVINO_RTTI("LowPrecision::QuantizationGranularity", "", ov::RuntimeAttribute, 0);
|
OPENVINO_RTTI("LowPrecision::QuantizationGranularity", "", ov::RuntimeAttribute);
|
||||||
|
|
||||||
enum class Granularity {
|
enum class Granularity {
|
||||||
PerChannel,
|
PerChannel,
|
||||||
|
@ -12,7 +12,7 @@ namespace ngraph {
|
|||||||
|
|
||||||
class LP_TRANSFORMATIONS_API QuantizationModeAttribute : public ov::RuntimeAttribute {
|
class LP_TRANSFORMATIONS_API QuantizationModeAttribute : public ov::RuntimeAttribute {
|
||||||
public:
|
public:
|
||||||
OPENVINO_RTTI("LowPrecision::QuantizationModeAttribute", "", ov::RuntimeAttribute, 0);
|
OPENVINO_RTTI("LowPrecision::QuantizationModeAttribute", "", ov::RuntimeAttribute);
|
||||||
|
|
||||||
enum class Mode {
|
enum class Mode {
|
||||||
Asymmetric,
|
Asymmetric,
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
namespace ngraph {
|
namespace ngraph {
|
||||||
class LP_TRANSFORMATIONS_API SkipCleanupAttribute : public ov::RuntimeAttribute {
|
class LP_TRANSFORMATIONS_API SkipCleanupAttribute : public ov::RuntimeAttribute {
|
||||||
public:
|
public:
|
||||||
OPENVINO_RTTI("LowPrecision::SkipCleanup", "", ov::RuntimeAttribute, 0);
|
OPENVINO_RTTI("LowPrecision::SkipCleanup", "", ov::RuntimeAttribute);
|
||||||
static ov::Any create(const std::shared_ptr<ngraph::Node>& node);
|
static ov::Any create(const std::shared_ptr<ngraph::Node>& node);
|
||||||
};
|
};
|
||||||
} // namespace ngraph
|
} // namespace ngraph
|
||||||
|
@ -30,10 +30,10 @@ ngraph::pass::low_precision::MarkupPrecisions::MarkupPrecisions(
|
|||||||
OPENVINO_SUPPRESS_DEPRECATED_START
|
OPENVINO_SUPPRESS_DEPRECATED_START
|
||||||
if (it == restrictionsByOperation.end()) {
|
if (it == restrictionsByOperation.end()) {
|
||||||
Restriction r(restriction.specifyVersion);
|
Restriction r(restriction.specifyVersion);
|
||||||
r.precisionsByVersion.emplace(restriction.operationType.version, restriction.precisionsByPorts);
|
r.precisionsByVersion.emplace(restriction.operationType.version_id, restriction.precisionsByPorts);
|
||||||
restrictionsByOperation.emplace(restriction.operationType.name, r);
|
restrictionsByOperation.emplace(restriction.operationType.name, r);
|
||||||
} else {
|
} else {
|
||||||
it->second.add(restriction.operationType.version, restriction.precisionsByPorts);
|
it->second.add(restriction.operationType.version_id, restriction.precisionsByPorts);
|
||||||
}
|
}
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_END
|
OPENVINO_SUPPRESS_DEPRECATED_END
|
||||||
}
|
}
|
||||||
@ -108,9 +108,7 @@ bool ngraph::pass::low_precision::MarkupPrecisions::run_on_model(const std::shar
|
|||||||
if (it != restrictionsByOperation.end()) {
|
if (it != restrictionsByOperation.end()) {
|
||||||
const Restriction& r = it->second;
|
const Restriction& r = it->second;
|
||||||
if (r.versionIsRequired) {
|
if (r.versionIsRequired) {
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_START
|
const auto it2 = r.precisionsByVersion.find(typeInfo.version_id);
|
||||||
const auto it2 = r.precisionsByVersion.find(typeInfo.version);
|
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_END
|
|
||||||
if (it2 == r.precisionsByVersion.end()) {
|
if (it2 == r.precisionsByVersion.end()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -20,10 +20,10 @@ ngraph::pass::low_precision::MarkupQuantizationGranularity::MarkupQuantizationGr
|
|||||||
OPENVINO_SUPPRESS_DEPRECATED_START
|
OPENVINO_SUPPRESS_DEPRECATED_START
|
||||||
if (it == restrictionsByOperation.end()) {
|
if (it == restrictionsByOperation.end()) {
|
||||||
PerTensorQuantization r(restriction.specifyVersion);
|
PerTensorQuantization r(restriction.specifyVersion);
|
||||||
r.portsByVersion.emplace(restriction.operationType.version, restriction.restrictions);
|
r.portsByVersion.emplace(restriction.operationType.version_id, restriction.restrictions);
|
||||||
restrictionsByOperation.emplace(restriction.operationType.name, r);
|
restrictionsByOperation.emplace(restriction.operationType.name, r);
|
||||||
} else {
|
} else {
|
||||||
it->second.add(restriction.operationType.version, restriction.restrictions);
|
it->second.add(restriction.operationType.version_id, restriction.restrictions);
|
||||||
}
|
}
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_END
|
OPENVINO_SUPPRESS_DEPRECATED_END
|
||||||
}
|
}
|
||||||
@ -74,9 +74,7 @@ bool ngraph::pass::low_precision::MarkupQuantizationGranularity::run_on_model(co
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (restriction.versionIsRequired) {
|
if (restriction.versionIsRequired) {
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_START
|
const auto it2 = restriction.portsByVersion.find(node->get_type_info().version_id);
|
||||||
const auto it2 = restriction.portsByVersion.find(node->get_type_info().version);
|
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_END
|
|
||||||
if (it2 == restriction.portsByVersion.end()) {
|
if (it2 == restriction.portsByVersion.end()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ namespace ngraph {
|
|||||||
class Mask : public std::vector<std::set<uint64_t>>, public std::enable_shared_from_this<Mask> {
|
class Mask : public std::vector<std::set<uint64_t>>, public std::enable_shared_from_this<Mask> {
|
||||||
public:
|
public:
|
||||||
static const ::ov::DiscreteTypeInfo& get_type_info_static() {
|
static const ::ov::DiscreteTypeInfo& get_type_info_static() {
|
||||||
static const ::ov::DiscreteTypeInfo type_info_static{"Mask", 0, "0"};
|
static const ::ov::DiscreteTypeInfo type_info_static{"Mask", "0"};
|
||||||
return type_info_static;
|
return type_info_static;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include "snippets/utils.hpp"
|
#include "snippets/utils.hpp"
|
||||||
#include "snippets/itt.hpp"
|
#include "snippets/itt.hpp"
|
||||||
|
|
||||||
NGRAPH_RTTI_DEFINITION(ngraph::snippets::pass::CommonOptimizations, "Snippets::CommonOptimizations", 0);
|
NGRAPH_RTTI_DEFINITION(ngraph::snippets::pass::CommonOptimizations, "Snippets::CommonOptimizations");
|
||||||
|
|
||||||
namespace ngraph {
|
namespace ngraph {
|
||||||
namespace snippets {
|
namespace snippets {
|
||||||
|
@ -29,14 +29,11 @@ namespace internal {
|
|||||||
template <typename BaseNmsOp>
|
template <typename BaseNmsOp>
|
||||||
class NmsStaticShapeIE : public BaseNmsOp {
|
class NmsStaticShapeIE : public BaseNmsOp {
|
||||||
public:
|
public:
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_START
|
|
||||||
// TODO: it should be std::string("NmsStaticShapeIE_") + BaseNmsOp::get_type_info_static().name,
|
// TODO: it should be std::string("NmsStaticShapeIE_") + BaseNmsOp::get_type_info_static().name,
|
||||||
// but currently it does not pass conversion to Legacy Opset correctly
|
// but currently it does not pass conversion to Legacy Opset correctly
|
||||||
OPENVINO_RTTI(BaseNmsOp::get_type_info_static().name,
|
OPENVINO_RTTI(BaseNmsOp::get_type_info_static().name,
|
||||||
"ie_internal_opset",
|
"ie_internal_opset",
|
||||||
BaseNmsOp,
|
BaseNmsOp);
|
||||||
BaseNmsOp::get_type_info_static().version);
|
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_END
|
|
||||||
|
|
||||||
NmsStaticShapeIE() = default;
|
NmsStaticShapeIE() = default;
|
||||||
|
|
||||||
|
@ -191,8 +191,7 @@ class TypeRelaxed : public BaseOp, public TypeRelaxedBase {
|
|||||||
public:
|
public:
|
||||||
OPENVINO_OP(BaseOp::get_type_info_static().name,
|
OPENVINO_OP(BaseOp::get_type_info_static().name,
|
||||||
BaseOp::get_type_info_static().version_id,
|
BaseOp::get_type_info_static().version_id,
|
||||||
BaseOp,
|
BaseOp);
|
||||||
BaseOp::get_type_info_static().version);
|
|
||||||
|
|
||||||
using BaseOp::BaseOp;
|
using BaseOp::BaseOp;
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ TEST(TransformationTests, CompareFunctoinsTINegative) {
|
|||||||
const auto fc = FunctionsComparator::with_default().enable(FunctionsComparator::ATTRIBUTES);
|
const auto fc = FunctionsComparator::with_default().enable(FunctionsComparator::ATTRIBUTES);
|
||||||
auto res = fc(f, f_ref);
|
auto res = fc(f, f_ref);
|
||||||
EXPECT_FALSE(res.valid);
|
EXPECT_FALSE(res.valid);
|
||||||
EXPECT_THAT(res.message, HasSubstr("LSTMCell/4 != Relu/0"));
|
EXPECT_THAT(res.message, HasSubstr("LSTMCell/opset4 != Relu/opset1"));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(TransformationTests, CompareFunctoinsTINegativeDifferentElementTypeBetweenSubGraphsInputs) {
|
TEST(TransformationTests, CompareFunctoinsTINegativeDifferentElementTypeBetweenSubGraphsInputs) {
|
||||||
@ -514,7 +514,7 @@ public:
|
|||||||
DummyConstant& operator=(const DummyConstant&) = delete;
|
DummyConstant& operator=(const DummyConstant&) = delete;
|
||||||
|
|
||||||
const NodeTypeInfo& get_type_info() const override {
|
const NodeTypeInfo& get_type_info() const override {
|
||||||
static const NodeTypeInfo type_info{typeid(this).name(), static_cast<uint64_t>(0)};
|
static const NodeTypeInfo type_info{typeid(this).name(), "0"};
|
||||||
return type_info;
|
return type_info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -150,18 +150,17 @@ using ov::check_new_args_count;
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _NGRAPH_RTTI_DEFINITION_WITH_PARENT(CLASS, TYPE_NAME, _VERSION_INDEX, PARENT_CLASS) \
|
#define _NGRAPH_RTTI_DEFINITION_WITH_PARENT(CLASS, TYPE_NAME, PARENT_CLASS) \
|
||||||
const ::ngraph::Node::type_info_t& CLASS::get_type_info_static() { \
|
const ::ngraph::Node::type_info_t& CLASS::get_type_info_static() { \
|
||||||
static const ::ngraph::Node::type_info_t type_info_static{TYPE_NAME, \
|
static const ::ngraph::Node::type_info_t type_info_static{TYPE_NAME, \
|
||||||
static_cast<uint64_t>(_VERSION_INDEX), \
|
|
||||||
&PARENT_CLASS::get_type_info_static()}; \
|
&PARENT_CLASS::get_type_info_static()}; \
|
||||||
return type_info_static; \
|
return type_info_static; \
|
||||||
} \
|
} \
|
||||||
_NGRAPH_RTTI_DEFINITION_COMMON(CLASS)
|
_NGRAPH_RTTI_DEFINITION_COMMON(CLASS)
|
||||||
|
|
||||||
#define _NGRAPH_RTTI_DEFINITION_NO_PARENT(CLASS, TYPE_NAME, _VERSION_INDEX) \
|
#define _NGRAPH_RTTI_DEFINITION_NO_PARENT(CLASS, TYPE_NAME) \
|
||||||
const ::ngraph::Node::type_info_t& CLASS::get_type_info_static() { \
|
const ::ngraph::Node::type_info_t& CLASS::get_type_info_static() { \
|
||||||
static const ::ngraph::Node::type_info_t type_info_static{TYPE_NAME, static_cast<uint64_t>(_VERSION_INDEX)}; \
|
static const ::ngraph::Node::type_info_t type_info_static{TYPE_NAME}; \
|
||||||
return type_info_static; \
|
return type_info_static; \
|
||||||
} \
|
} \
|
||||||
_NGRAPH_RTTI_DEFINITION_COMMON(CLASS)
|
_NGRAPH_RTTI_DEFINITION_COMMON(CLASS)
|
||||||
|
@ -47,7 +47,7 @@ class OPENVINO_API Model : public std::enable_shared_from_this<Model> {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
_OPENVINO_HIDDEN_METHOD static const ::ov::DiscreteTypeInfo& get_type_info_static() {
|
_OPENVINO_HIDDEN_METHOD static const ::ov::DiscreteTypeInfo& get_type_info_static() {
|
||||||
static const ::ov::DiscreteTypeInfo type_info_static{"Model", static_cast<uint64_t>(0)};
|
static const ::ov::DiscreteTypeInfo type_info_static{"Model"};
|
||||||
return type_info_static;
|
return type_info_static;
|
||||||
}
|
}
|
||||||
const ::ov::DiscreteTypeInfo& get_type_info() const {
|
const ::ov::DiscreteTypeInfo& get_type_info() const {
|
||||||
|
@ -409,12 +409,8 @@ public:
|
|||||||
/// Get all the nodes that uses the current node
|
/// Get all the nodes that uses the current node
|
||||||
NodeVector get_users(bool check_is_used = false) const;
|
NodeVector get_users(bool check_is_used = false) const;
|
||||||
|
|
||||||
/// \return Version of this node
|
virtual std::shared_ptr<Node> get_default_value() const {
|
||||||
OPENVINO_DEPRECATED("This method is deprecated and will be removed soon.")
|
return nullptr;
|
||||||
virtual size_t get_version() const {
|
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_START
|
|
||||||
return get_type_info().version;
|
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_END
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Use instance ids for comparison instead of memory addresses to improve determinism
|
/// Use instance ids for comparison instead of memory addresses to improve determinism
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
#include "openvino/core/visibility.hpp"
|
#include "openvino/core/visibility.hpp"
|
||||||
|
|
||||||
#define _OPENVINO_RTTI_EXPAND(X) X
|
#define _OPENVINO_RTTI_EXPAND(X) X
|
||||||
#define _OPENVINO_RTTI_DEFINITION_SELECTOR(_1, _2, _3, _4, NAME, ...) NAME
|
#define _OPENVINO_RTTI_DEFINITION_SELECTOR(_1, _2, _3, NAME, ...) NAME
|
||||||
|
|
||||||
#define _OPENVINO_RTTI_WITH_TYPE(TYPE_NAME) _OPENVINO_RTTI_WITH_TYPE_VERSION(TYPE_NAME, "util")
|
#define _OPENVINO_RTTI_WITH_TYPE(TYPE_NAME) _OPENVINO_RTTI_WITH_TYPE_VERSION(TYPE_NAME, "util")
|
||||||
|
|
||||||
#define _OPENVINO_RTTI_WITH_TYPE_VERSION(TYPE_NAME, VERSION_NAME) \
|
#define _OPENVINO_RTTI_WITH_TYPE_VERSION(TYPE_NAME, VERSION_NAME) \
|
||||||
_OPENVINO_HIDDEN_METHOD static const ::ov::DiscreteTypeInfo& get_type_info_static() { \
|
_OPENVINO_HIDDEN_METHOD static const ::ov::DiscreteTypeInfo& get_type_info_static() { \
|
||||||
static ::ov::DiscreteTypeInfo type_info_static{TYPE_NAME, 0, VERSION_NAME}; \
|
static ::ov::DiscreteTypeInfo type_info_static{TYPE_NAME, VERSION_NAME}; \
|
||||||
type_info_static.hash(); \
|
type_info_static.hash(); \
|
||||||
return type_info_static; \
|
return type_info_static; \
|
||||||
} \
|
} \
|
||||||
@ -23,12 +23,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define _OPENVINO_RTTI_WITH_TYPE_VERSION_PARENT(TYPE_NAME, VERSION_NAME, PARENT_CLASS) \
|
#define _OPENVINO_RTTI_WITH_TYPE_VERSION_PARENT(TYPE_NAME, VERSION_NAME, PARENT_CLASS) \
|
||||||
_OPENVINO_RTTI_WITH_TYPE_VERSIONS_PARENT(TYPE_NAME, VERSION_NAME, PARENT_CLASS, 0)
|
_OPENVINO_RTTI_WITH_TYPE_VERSIONS_PARENT(TYPE_NAME, VERSION_NAME, PARENT_CLASS)
|
||||||
|
|
||||||
#define _OPENVINO_RTTI_WITH_TYPE_VERSIONS_PARENT(TYPE_NAME, VERSION_NAME, PARENT_CLASS, OLD_VERSION) \
|
#define _OPENVINO_RTTI_WITH_TYPE_VERSIONS_PARENT(TYPE_NAME, VERSION_NAME, PARENT_CLASS) \
|
||||||
_OPENVINO_HIDDEN_METHOD static const ::ov::DiscreteTypeInfo& get_type_info_static() { \
|
_OPENVINO_HIDDEN_METHOD static const ::ov::DiscreteTypeInfo& get_type_info_static() { \
|
||||||
static ::ov::DiscreteTypeInfo type_info_static{TYPE_NAME, \
|
static ::ov::DiscreteTypeInfo type_info_static{TYPE_NAME, \
|
||||||
OLD_VERSION, \
|
|
||||||
VERSION_NAME, \
|
VERSION_NAME, \
|
||||||
&PARENT_CLASS::get_type_info_static()}; \
|
&PARENT_CLASS::get_type_info_static()}; \
|
||||||
type_info_static.hash(); \
|
type_info_static.hash(); \
|
||||||
@ -94,7 +93,6 @@
|
|||||||
/// OPENVINO_RTTI(name, version_id, parent, old_version)
|
/// OPENVINO_RTTI(name, version_id, parent, old_version)
|
||||||
#define OPENVINO_RTTI(...) \
|
#define OPENVINO_RTTI(...) \
|
||||||
_OPENVINO_RTTI_EXPAND(_OPENVINO_RTTI_DEFINITION_SELECTOR(__VA_ARGS__, \
|
_OPENVINO_RTTI_EXPAND(_OPENVINO_RTTI_DEFINITION_SELECTOR(__VA_ARGS__, \
|
||||||
_OPENVINO_RTTI_WITH_TYPE_VERSIONS_PARENT, \
|
|
||||||
_OPENVINO_RTTI_WITH_TYPE_VERSION_PARENT, \
|
_OPENVINO_RTTI_WITH_TYPE_VERSION_PARENT, \
|
||||||
_OPENVINO_RTTI_WITH_TYPE_VERSION, \
|
_OPENVINO_RTTI_WITH_TYPE_VERSION, \
|
||||||
_OPENVINO_RTTI_WITH_TYPE)(__VA_ARGS__))
|
_OPENVINO_RTTI_WITH_TYPE)(__VA_ARGS__))
|
||||||
|
@ -20,7 +20,7 @@ class Any;
|
|||||||
class OPENVINO_API RuntimeAttribute {
|
class OPENVINO_API RuntimeAttribute {
|
||||||
public:
|
public:
|
||||||
_OPENVINO_HIDDEN_METHOD static const DiscreteTypeInfo& get_type_info_static() {
|
_OPENVINO_HIDDEN_METHOD static const DiscreteTypeInfo& get_type_info_static() {
|
||||||
static const ::ov::DiscreteTypeInfo type_info_static{"RuntimeAttribute", static_cast<uint64_t>(0)};
|
static const ::ov::DiscreteTypeInfo type_info_static{"RuntimeAttribute"};
|
||||||
return type_info_static;
|
return type_info_static;
|
||||||
}
|
}
|
||||||
virtual const DiscreteTypeInfo& get_type_info() const {
|
virtual const DiscreteTypeInfo& get_type_info() const {
|
||||||
|
@ -30,14 +30,11 @@ namespace ov {
|
|||||||
*/
|
*/
|
||||||
struct OPENVINO_API DiscreteTypeInfo {
|
struct OPENVINO_API DiscreteTypeInfo {
|
||||||
const char* name;
|
const char* name;
|
||||||
OPENVINO_DEPRECATED("This member was deprecated. Please use version_id instead.")
|
|
||||||
uint64_t version;
|
|
||||||
const char* version_id;
|
const char* version_id;
|
||||||
// A pointer to a parent type info; used for casting and inheritance traversal, not for
|
// A pointer to a parent type info; used for casting and inheritance traversal, not for
|
||||||
// exact type identification
|
// exact type identification
|
||||||
const DiscreteTypeInfo* parent;
|
const DiscreteTypeInfo* parent;
|
||||||
|
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_START
|
|
||||||
DiscreteTypeInfo() = default;
|
DiscreteTypeInfo() = default;
|
||||||
DiscreteTypeInfo(const DiscreteTypeInfo&) = default;
|
DiscreteTypeInfo(const DiscreteTypeInfo&) = default;
|
||||||
DiscreteTypeInfo(DiscreteTypeInfo&&) = default;
|
DiscreteTypeInfo(DiscreteTypeInfo&&) = default;
|
||||||
@ -47,29 +44,16 @@ struct OPENVINO_API DiscreteTypeInfo {
|
|||||||
const char* _version_id,
|
const char* _version_id,
|
||||||
const DiscreteTypeInfo* _parent = nullptr)
|
const DiscreteTypeInfo* _parent = nullptr)
|
||||||
: name(_name),
|
: name(_name),
|
||||||
version(0),
|
|
||||||
version_id(_version_id),
|
version_id(_version_id),
|
||||||
parent(_parent),
|
parent(_parent),
|
||||||
hash_value(0) {}
|
hash_value(0) {}
|
||||||
|
|
||||||
constexpr DiscreteTypeInfo(const char* _name, uint64_t _version, const DiscreteTypeInfo* _parent = nullptr)
|
constexpr DiscreteTypeInfo(const char* _name, const DiscreteTypeInfo* _parent = nullptr)
|
||||||
: name(_name),
|
: name(_name),
|
||||||
version(_version),
|
|
||||||
version_id(nullptr),
|
version_id(nullptr),
|
||||||
parent(_parent),
|
parent(_parent),
|
||||||
hash_value(0) {}
|
hash_value(0) {}
|
||||||
|
|
||||||
constexpr DiscreteTypeInfo(const char* _name,
|
|
||||||
uint64_t _version,
|
|
||||||
const char* _version_id,
|
|
||||||
const DiscreteTypeInfo* _parent = nullptr)
|
|
||||||
: name(_name),
|
|
||||||
version(_version),
|
|
||||||
version_id(_version_id),
|
|
||||||
parent(_parent),
|
|
||||||
hash_value(0) {}
|
|
||||||
OPENVINO_SUPPRESS_DEPRECATED_END
|
|
||||||
|
|
||||||
bool is_castable(const DiscreteTypeInfo& target_type) const;
|
bool is_castable(const DiscreteTypeInfo& target_type) const;
|
||||||
|
|
||||||
std::string get_version() const;
|
std::string get_version() const;
|
||||||
|
@ -16,7 +16,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Acosh : public util::UnaryElementwiseArithmetic {
|
class OPENVINO_API Acosh : public util::UnaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Acosh", "opset4", util::UnaryElementwiseArithmetic, 3);
|
OPENVINO_OP("Acosh", "opset4", util::UnaryElementwiseArithmetic);
|
||||||
|
|
||||||
/// \brief Constructs an Acosh operation.
|
/// \brief Constructs an Acosh operation.
|
||||||
Acosh() = default;
|
Acosh() = default;
|
||||||
|
@ -16,7 +16,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Add : public util::BinaryElementwiseArithmetic {
|
class OPENVINO_API Add : public util::BinaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Add", "opset1", util::BinaryElementwiseArithmetic, 1);
|
OPENVINO_OP("Add", "opset1", util::BinaryElementwiseArithmetic);
|
||||||
|
|
||||||
/// \brief Constructs an uninitialized addition operation
|
/// \brief Constructs an uninitialized addition operation
|
||||||
Add() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
Add() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
||||||
|
@ -15,7 +15,7 @@ namespace v3 {
|
|||||||
///
|
///
|
||||||
class OPENVINO_API Asinh : public util::UnaryElementwiseArithmetic {
|
class OPENVINO_API Asinh : public util::UnaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Asinh", "opset4", util::UnaryElementwiseArithmetic, 3);
|
OPENVINO_OP("Asinh", "opset4", util::UnaryElementwiseArithmetic);
|
||||||
|
|
||||||
/// \brief Constructs an Asinh operation.
|
/// \brief Constructs an Asinh operation.
|
||||||
Asinh() = default;
|
Asinh() = default;
|
||||||
|
@ -14,7 +14,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Assign : public util::AssignBase {
|
class OPENVINO_API Assign : public util::AssignBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Assign", "opset3", util::AssignBase, 3);
|
OPENVINO_OP("Assign", "opset3", util::AssignBase);
|
||||||
Assign() = default;
|
Assign() = default;
|
||||||
|
|
||||||
/// \brief Constructs an Assign operation.
|
/// \brief Constructs an Assign operation.
|
||||||
@ -44,7 +44,7 @@ namespace v6 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Assign : public util::AssignBase {
|
class OPENVINO_API Assign : public util::AssignBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Assign", "opset6", util::AssignBase, 6);
|
OPENVINO_OP("Assign", "opset6", util::AssignBase);
|
||||||
Assign() = default;
|
Assign() = default;
|
||||||
|
|
||||||
/// \brief Constructs an Assign operation.
|
/// \brief Constructs an Assign operation.
|
||||||
|
@ -16,7 +16,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Atanh : public util::UnaryElementwiseArithmetic {
|
class OPENVINO_API Atanh : public util::UnaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Atanh", "opset4", util::UnaryElementwiseArithmetic, 3);
|
OPENVINO_OP("Atanh", "opset4", util::UnaryElementwiseArithmetic);
|
||||||
|
|
||||||
/// \brief Constructs an Atanh operation.
|
/// \brief Constructs an Atanh operation.
|
||||||
Atanh() = default;
|
Atanh() = default;
|
||||||
|
@ -14,7 +14,7 @@ namespace v1 {
|
|||||||
///
|
///
|
||||||
class OPENVINO_API AvgPool : public Op {
|
class OPENVINO_API AvgPool : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("AvgPool", "opset1", op::Op, 1);
|
OPENVINO_OP("AvgPool", "opset1", op::Op);
|
||||||
|
|
||||||
/// \brief Constructs a batched average pooling operation.
|
/// \brief Constructs a batched average pooling operation.
|
||||||
AvgPool() = default;
|
AvgPool() = default;
|
||||||
|
@ -59,7 +59,7 @@ namespace v5 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API BatchNormInference : public Op {
|
class OPENVINO_API BatchNormInference : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("BatchNormInference", "opset5", op::Op, 5);
|
OPENVINO_OP("BatchNormInference", "opset5", op::Op);
|
||||||
BatchNormInference() = default;
|
BatchNormInference() = default;
|
||||||
/// \param input [., C, ...]
|
/// \param input [., C, ...]
|
||||||
/// \param gamma gamma scaling for normalized value. [C]
|
/// \param gamma gamma scaling for normalized value. [C]
|
||||||
|
@ -23,7 +23,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API BatchToSpace : public Op {
|
class OPENVINO_API BatchToSpace : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("BatchToSpace", "opset2", op::Op, 1);
|
OPENVINO_OP("BatchToSpace", "opset2", op::Op);
|
||||||
BatchToSpace() = default;
|
BatchToSpace() = default;
|
||||||
/// \brief Constructs a BatchToSpace operation.
|
/// \brief Constructs a BatchToSpace operation.
|
||||||
///
|
///
|
||||||
|
@ -16,7 +16,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API BinaryConvolution : public Op {
|
class OPENVINO_API BinaryConvolution : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("BinaryConvolution", "opset1", op::Op, 1);
|
OPENVINO_OP("BinaryConvolution", "opset1", op::Op);
|
||||||
|
|
||||||
enum class BinaryConvolutionMode {
|
enum class BinaryConvolutionMode {
|
||||||
// Interpret input data and kernel values: 0 as -1, 1 as 1
|
// Interpret input data and kernel values: 0 as -1, 1 as 1
|
||||||
|
@ -17,7 +17,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Broadcast : public util::BroadcastBase {
|
class OPENVINO_API Broadcast : public util::BroadcastBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Broadcast", "opset3", op::util::BroadcastBase, 3);
|
OPENVINO_OP("Broadcast", "opset3", op::util::BroadcastBase);
|
||||||
|
|
||||||
/// \brief Constructs a broadcast operation.
|
/// \brief Constructs a broadcast operation.
|
||||||
Broadcast() = default;
|
Broadcast() = default;
|
||||||
@ -81,7 +81,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Broadcast : public util::BroadcastBase {
|
class OPENVINO_API Broadcast : public util::BroadcastBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Broadcast", "opset1", op::util::BroadcastBase, 1);
|
OPENVINO_OP("Broadcast", "opset1", op::util::BroadcastBase);
|
||||||
|
|
||||||
/// \brief Constructs a broadcast operation.
|
/// \brief Constructs a broadcast operation.
|
||||||
Broadcast() = default;
|
Broadcast() = default;
|
||||||
|
@ -13,7 +13,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Bucketize : public Op {
|
class OPENVINO_API Bucketize : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Bucketize", "opset3", op::Op, 3);
|
OPENVINO_OP("Bucketize", "opset3", op::Op);
|
||||||
|
|
||||||
Bucketize() = default;
|
Bucketize() = default;
|
||||||
/// \brief Constructs a Bucketize node
|
/// \brief Constructs a Bucketize node
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ConvertLike : public Op {
|
class OPENVINO_API ConvertLike : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ConvertLike", "opset1", op::Op, 1);
|
OPENVINO_OP("ConvertLike", "opset1", op::Op);
|
||||||
|
|
||||||
/// \brief Constructs a conversion operation.
|
/// \brief Constructs a conversion operation.
|
||||||
ConvertLike() = default;
|
ConvertLike() = default;
|
||||||
|
@ -16,7 +16,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Convolution : public Op {
|
class OPENVINO_API Convolution : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Convolution", "opset1", op::Op, 1);
|
OPENVINO_OP("Convolution", "opset1", op::Op);
|
||||||
|
|
||||||
/// \brief Constructs a batched convolution operation.
|
/// \brief Constructs a batched convolution operation.
|
||||||
Convolution() = default;
|
Convolution() = default;
|
||||||
@ -129,7 +129,7 @@ private:
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ConvolutionBackpropData : public Op {
|
class OPENVINO_API ConvolutionBackpropData : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ConvolutionBackpropData", "opset1", op::Op, 1);
|
OPENVINO_OP("ConvolutionBackpropData", "opset1", op::Op);
|
||||||
|
|
||||||
/// \brief Constructs a batched-convolution data batch-backprop operation.
|
/// \brief Constructs a batched-convolution data batch-backprop operation.
|
||||||
ConvolutionBackpropData() = default;
|
ConvolutionBackpropData() = default;
|
||||||
|
@ -14,7 +14,7 @@ namespace v6 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API CTCGreedyDecoderSeqLen : public Op {
|
class OPENVINO_API CTCGreedyDecoderSeqLen : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("CTCGreedyDecoderSeqLen", "opset6", op::Op, 6);
|
OPENVINO_OP("CTCGreedyDecoderSeqLen", "opset6", op::Op);
|
||||||
CTCGreedyDecoderSeqLen() = default;
|
CTCGreedyDecoderSeqLen() = default;
|
||||||
/// \brief Constructs a CTCGreedyDecoderSeqLen operation
|
/// \brief Constructs a CTCGreedyDecoderSeqLen operation
|
||||||
///
|
///
|
||||||
|
@ -14,7 +14,7 @@ namespace v4 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API CTCLoss : public Op {
|
class OPENVINO_API CTCLoss : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("CTCLoss", "opset4", op::Op, 4);
|
OPENVINO_OP("CTCLoss", "opset4", op::Op);
|
||||||
|
|
||||||
CTCLoss() = default;
|
CTCLoss() = default;
|
||||||
/// \brief Constructs a CTCLoss operation
|
/// \brief Constructs a CTCLoss operation
|
||||||
|
@ -16,7 +16,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API DeformableConvolution : public op::util::DeformableConvolutionBase {
|
class OPENVINO_API DeformableConvolution : public op::util::DeformableConvolutionBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("DeformableConvolution", "opset1", op::util::DeformableConvolutionBase, 1);
|
OPENVINO_OP("DeformableConvolution", "opset1", op::util::DeformableConvolutionBase);
|
||||||
|
|
||||||
/// \brief Constructs a conversion operation.
|
/// \brief Constructs a conversion operation.
|
||||||
DeformableConvolution() = default;
|
DeformableConvolution() = default;
|
||||||
|
@ -14,7 +14,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API DeformablePSROIPooling : public Op {
|
class OPENVINO_API DeformablePSROIPooling : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("DeformablePSROIPooling", "opset1", op::Op, 1);
|
OPENVINO_OP("DeformablePSROIPooling", "opset1", op::Op);
|
||||||
|
|
||||||
DeformablePSROIPooling() = default;
|
DeformablePSROIPooling() = default;
|
||||||
/// \brief Constructs a DeformablePSROIPooling operation
|
/// \brief Constructs a DeformablePSROIPooling operation
|
||||||
|
@ -29,7 +29,7 @@ namespace v7 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API DFT : public util::FFTBase {
|
class OPENVINO_API DFT : public util::FFTBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("DFT", "opset7", util::FFTBase, 7);
|
OPENVINO_OP("DFT", "opset7", util::FFTBase);
|
||||||
DFT() = default;
|
DFT() = default;
|
||||||
|
|
||||||
/// \brief Constructs a DFT operation. DFT is performed for full size axes.
|
/// \brief Constructs a DFT operation. DFT is performed for full size axes.
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Divide : public util::BinaryElementwiseArithmetic {
|
class OPENVINO_API Divide : public util::BinaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Divide", "opset1", util::BinaryElementwiseArithmetic, 1);
|
OPENVINO_OP("Divide", "opset1", util::BinaryElementwiseArithmetic);
|
||||||
/// \brief Constructs a division operation.
|
/// \brief Constructs a division operation.
|
||||||
Divide() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
Divide() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ namespace v7 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Einsum : public Op {
|
class OPENVINO_API Einsum : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Einsum", "opset7", op::Op, 7);
|
OPENVINO_OP("Einsum", "opset7", op::Op);
|
||||||
|
|
||||||
Einsum() = default;
|
Einsum() = default;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API EmbeddingSegmentsSum : public Op {
|
class OPENVINO_API EmbeddingSegmentsSum : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("EmbeddingSegmentsSum", "opset3", op::Op, 3);
|
OPENVINO_OP("EmbeddingSegmentsSum", "opset3", op::Op);
|
||||||
/// \brief Constructs a EmbeddingSegmentsSum operation.
|
/// \brief Constructs a EmbeddingSegmentsSum operation.
|
||||||
EmbeddingSegmentsSum() = default;
|
EmbeddingSegmentsSum() = default;
|
||||||
/// \brief Constructs a EmbeddingSegmentsSum operation.
|
/// \brief Constructs a EmbeddingSegmentsSum operation.
|
||||||
|
@ -15,7 +15,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API EmbeddingBagOffsetsSum : public util::EmbeddingBagOffsetsBase {
|
class OPENVINO_API EmbeddingBagOffsetsSum : public util::EmbeddingBagOffsetsBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("EmbeddingBagOffsetsSum", "opset3", util::EmbeddingBagOffsetsBase, 3);
|
OPENVINO_OP("EmbeddingBagOffsetsSum", "opset3", util::EmbeddingBagOffsetsBase);
|
||||||
/// \brief Constructs a EmbeddingBagOffsetsSum operation.
|
/// \brief Constructs a EmbeddingBagOffsetsSum operation.
|
||||||
EmbeddingBagOffsetsSum() = default;
|
EmbeddingBagOffsetsSum() = default;
|
||||||
/// \brief Constructs a EmbeddingBagOffsetsSum operation.
|
/// \brief Constructs a EmbeddingBagOffsetsSum operation.
|
||||||
|
@ -15,7 +15,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API EmbeddingBagPackedSum : public util::EmbeddingBagPackedBase {
|
class OPENVINO_API EmbeddingBagPackedSum : public util::EmbeddingBagPackedBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("EmbeddingBagPackedSum", "opset3", util::EmbeddingBagPackedBase, 3);
|
OPENVINO_OP("EmbeddingBagPackedSum", "opset3", util::EmbeddingBagPackedBase);
|
||||||
/// \brief Constructs a EmbeddingBagPackedSum operation.
|
/// \brief Constructs a EmbeddingBagPackedSum operation.
|
||||||
EmbeddingBagPackedSum() = default;
|
EmbeddingBagPackedSum() = default;
|
||||||
/// \brief Constructs a EmbeddingBagPackedSum operation.
|
/// \brief Constructs a EmbeddingBagPackedSum operation.
|
||||||
|
@ -29,7 +29,7 @@ namespace v1 {
|
|||||||
// clang-format on
|
// clang-format on
|
||||||
class OPENVINO_API Equal : public util::BinaryElementwiseComparison {
|
class OPENVINO_API Equal : public util::BinaryElementwiseComparison {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Equal", "opset1", op::util::BinaryElementwiseComparison, 1);
|
OPENVINO_OP("Equal", "opset1", op::util::BinaryElementwiseComparison);
|
||||||
/// \brief Constructs an equal operation.
|
/// \brief Constructs an equal operation.
|
||||||
Equal() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
Equal() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
||||||
/// \brief Constructs an equal operation.
|
/// \brief Constructs an equal operation.
|
||||||
|
@ -20,7 +20,7 @@ namespace v6 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ExperimentalDetectronDetectionOutput : public Op {
|
class OPENVINO_API ExperimentalDetectronDetectionOutput : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ExperimentalDetectronDetectionOutput", "opset6", op::Op, 6);
|
OPENVINO_OP("ExperimentalDetectronDetectionOutput", "opset6", op::Op);
|
||||||
|
|
||||||
/// \brief Structure that specifies attributes of the operation
|
/// \brief Structure that specifies attributes of the operation
|
||||||
struct Attributes {
|
struct Attributes {
|
||||||
|
@ -19,7 +19,7 @@ namespace v6 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ExperimentalDetectronGenerateProposalsSingleImage : public Op {
|
class OPENVINO_API ExperimentalDetectronGenerateProposalsSingleImage : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ExperimentalDetectronGenerateProposalsSingleImage", "opset6", op::Op, 6);
|
OPENVINO_OP("ExperimentalDetectronGenerateProposalsSingleImage", "opset6", op::Op);
|
||||||
|
|
||||||
/// \brief Structure that specifies attributes of the operation
|
/// \brief Structure that specifies attributes of the operation
|
||||||
struct Attributes {
|
struct Attributes {
|
||||||
|
@ -19,7 +19,7 @@ namespace v6 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ExperimentalDetectronPriorGridGenerator : public Op {
|
class OPENVINO_API ExperimentalDetectronPriorGridGenerator : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ExperimentalDetectronPriorGridGenerator", "opset6", op::Op, 6);
|
OPENVINO_OP("ExperimentalDetectronPriorGridGenerator", "opset6", op::Op);
|
||||||
|
|
||||||
/// \brief Structure that specifies attributes of the operation
|
/// \brief Structure that specifies attributes of the operation
|
||||||
struct Attributes {
|
struct Attributes {
|
||||||
|
@ -20,7 +20,7 @@ namespace v6 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ExperimentalDetectronROIFeatureExtractor : public Op {
|
class OPENVINO_API ExperimentalDetectronROIFeatureExtractor : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ExperimentalDetectronROIFeatureExtractor", "opset6", op::Op, 6);
|
OPENVINO_OP("ExperimentalDetectronROIFeatureExtractor", "opset6", op::Op);
|
||||||
|
|
||||||
/// \brief Structure that specifies attributes of the operation
|
/// \brief Structure that specifies attributes of the operation
|
||||||
struct Attributes {
|
struct Attributes {
|
||||||
|
@ -19,7 +19,7 @@ namespace v6 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ExperimentalDetectronTopKROIs : public Op {
|
class OPENVINO_API ExperimentalDetectronTopKROIs : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ExperimentalDetectronTopKROIs", "opset6", op::Op, 6);
|
OPENVINO_OP("ExperimentalDetectronTopKROIs", "opset6", op::Op);
|
||||||
|
|
||||||
ExperimentalDetectronTopKROIs() = default;
|
ExperimentalDetectronTopKROIs() = default;
|
||||||
/// \brief Constructs a ExperimentalDetectronTopKROIs operation.
|
/// \brief Constructs a ExperimentalDetectronTopKROIs operation.
|
||||||
|
@ -14,7 +14,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ExtractImagePatches : public Op {
|
class OPENVINO_API ExtractImagePatches : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ExtractImagePatches", "opset3", op::Op, 3);
|
OPENVINO_OP("ExtractImagePatches", "opset3", op::Op);
|
||||||
|
|
||||||
ExtractImagePatches() = default;
|
ExtractImagePatches() = default;
|
||||||
/// \brief Constructs a ExtractImagePatches operation
|
/// \brief Constructs a ExtractImagePatches operation
|
||||||
|
@ -14,7 +14,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API FloorMod : public util::BinaryElementwiseArithmetic {
|
class OPENVINO_API FloorMod : public util::BinaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("FloorMod", "opset1", op::util::BinaryElementwiseArithmetic, 1);
|
OPENVINO_OP("FloorMod", "opset1", op::util::BinaryElementwiseArithmetic);
|
||||||
|
|
||||||
/// \brief Constructs an uninitialized addition operation
|
/// \brief Constructs an uninitialized addition operation
|
||||||
FloorMod() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
FloorMod() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Gather : public op::util::GatherBase {
|
class OPENVINO_API Gather : public op::util::GatherBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Gather", "opset1", op::util::GatherBase, 1);
|
OPENVINO_OP("Gather", "opset1", op::util::GatherBase);
|
||||||
static constexpr int64_t AXIS_NOT_SET_VALUE = std::numeric_limits<int64_t>::max();
|
static constexpr int64_t AXIS_NOT_SET_VALUE = std::numeric_limits<int64_t>::max();
|
||||||
Gather() = default;
|
Gather() = default;
|
||||||
/// \param data The tensor from which slices are gathered
|
/// \param data The tensor from which slices are gathered
|
||||||
@ -33,7 +33,7 @@ namespace v7 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Gather : public op::util::GatherBase {
|
class OPENVINO_API Gather : public op::util::GatherBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Gather", "opset7", op::util::GatherBase, 7);
|
OPENVINO_OP("Gather", "opset7", op::util::GatherBase);
|
||||||
Gather() = default;
|
Gather() = default;
|
||||||
|
|
||||||
/// \param data The tensor from which slices are gathered
|
/// \param data The tensor from which slices are gathered
|
||||||
|
@ -14,7 +14,7 @@ namespace v6 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API GatherElements : public Op {
|
class OPENVINO_API GatherElements : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("GatherElements", "opset6", op::Op, 6);
|
OPENVINO_OP("GatherElements", "opset6", op::Op);
|
||||||
GatherElements() = default;
|
GatherElements() = default;
|
||||||
|
|
||||||
/// \brief Constructs a GatherElements operation.
|
/// \brief Constructs a GatherElements operation.
|
||||||
|
@ -13,7 +13,7 @@ namespace v5 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API GatherND : public op::util::GatherNDBase {
|
class OPENVINO_API GatherND : public op::util::GatherNDBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("GatherND", "opset5", op::util::GatherNDBase, 5);
|
OPENVINO_OP("GatherND", "opset5", op::util::GatherNDBase);
|
||||||
GatherND() = default;
|
GatherND() = default;
|
||||||
|
|
||||||
/// \brief Constructs a GatherND operation.
|
/// \brief Constructs a GatherND operation.
|
||||||
|
@ -14,7 +14,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API GatherTree : public Op {
|
class OPENVINO_API GatherTree : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("GatherTree", "opset1", op::Op, 1);
|
OPENVINO_OP("GatherTree", "opset1", op::Op);
|
||||||
|
|
||||||
GatherTree() = default;
|
GatherTree() = default;
|
||||||
/// \param step_ids Tensor of shape [MAX_TIME, BATCH_SIZE, BEAM_WIDTH] with
|
/// \param step_ids Tensor of shape [MAX_TIME, BATCH_SIZE, BEAM_WIDTH] with
|
||||||
|
@ -15,7 +15,7 @@ namespace v0 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Gelu : public util::UnaryElementwiseArithmetic {
|
class OPENVINO_API Gelu : public util::UnaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Gelu", "opset2", util::UnaryElementwiseArithmetic, 0);
|
OPENVINO_OP("Gelu", "opset2", util::UnaryElementwiseArithmetic);
|
||||||
|
|
||||||
Gelu();
|
Gelu();
|
||||||
/// \brief Constructs a Gelu operation.
|
/// \brief Constructs a Gelu operation.
|
||||||
@ -43,7 +43,7 @@ namespace v7 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Gelu : public util::UnaryElementwiseArithmetic {
|
class OPENVINO_API Gelu : public util::UnaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Gelu", "opset7", util::UnaryElementwiseArithmetic, 7);
|
OPENVINO_OP("Gelu", "opset7", util::UnaryElementwiseArithmetic);
|
||||||
|
|
||||||
Gelu() = default;
|
Gelu() = default;
|
||||||
/// \brief Constructs a Gelu operation.
|
/// \brief Constructs a Gelu operation.
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Greater : public util::BinaryElementwiseComparison {
|
class OPENVINO_API Greater : public util::BinaryElementwiseComparison {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Greater", "opset1", op::util::BinaryElementwiseComparison, 1);
|
OPENVINO_OP("Greater", "opset1", op::util::BinaryElementwiseComparison);
|
||||||
/// \brief Constructs a greater-than operation.
|
/// \brief Constructs a greater-than operation.
|
||||||
Greater() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
Greater() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
||||||
/// \brief Constructs a greater-than operation.
|
/// \brief Constructs a greater-than operation.
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API GreaterEqual : public util::BinaryElementwiseComparison {
|
class OPENVINO_API GreaterEqual : public util::BinaryElementwiseComparison {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("GreaterEqual", "opset1", op::util::BinaryElementwiseComparison, 1);
|
OPENVINO_OP("GreaterEqual", "opset1", op::util::BinaryElementwiseComparison);
|
||||||
/// \brief Constructs a greater-than-or-equal operation.
|
/// \brief Constructs a greater-than-or-equal operation.
|
||||||
GreaterEqual() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
GreaterEqual() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
||||||
/// \brief Constructs a greater-than-or-equal operation.
|
/// \brief Constructs a greater-than-or-equal operation.
|
||||||
|
@ -14,7 +14,7 @@ namespace v1 {
|
|||||||
/// \brief Batched convolution operation, with optional window dilation and stride.
|
/// \brief Batched convolution operation, with optional window dilation and stride.
|
||||||
class OPENVINO_API GroupConvolution : public Op {
|
class OPENVINO_API GroupConvolution : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("GroupConvolution", "opset1", op::Op, 1);
|
OPENVINO_OP("GroupConvolution", "opset1", op::Op);
|
||||||
|
|
||||||
/// \brief Constructs a batched convolution operation.
|
/// \brief Constructs a batched convolution operation.
|
||||||
GroupConvolution() = default;
|
GroupConvolution() = default;
|
||||||
@ -126,7 +126,7 @@ private:
|
|||||||
/// \brief Data batch backprop for batched convolution operation.
|
/// \brief Data batch backprop for batched convolution operation.
|
||||||
class OPENVINO_API GroupConvolutionBackpropData : public Op {
|
class OPENVINO_API GroupConvolutionBackpropData : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("GroupConvolutionBackpropData", "opset1", op::Op, 1);
|
OPENVINO_OP("GroupConvolutionBackpropData", "opset1", op::Op);
|
||||||
|
|
||||||
/// \brief Constructs a batched-convolution data batch-backprop operation.
|
/// \brief Constructs a batched-convolution data batch-backprop operation.
|
||||||
GroupConvolutionBackpropData();
|
GroupConvolutionBackpropData();
|
||||||
|
@ -24,7 +24,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API GRUCell : public util::RNNCellBase {
|
class OPENVINO_API GRUCell : public util::RNNCellBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("GRUCell", "opset3", op::util::RNNCellBase, 3);
|
OPENVINO_OP("GRUCell", "opset3", op::util::RNNCellBase);
|
||||||
GRUCell();
|
GRUCell();
|
||||||
///
|
///
|
||||||
/// \brief Constructs GRUCell node.
|
/// \brief Constructs GRUCell node.
|
||||||
|
@ -19,7 +19,7 @@ namespace v5 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API GRUSequence : public util::RNNCellBase {
|
class OPENVINO_API GRUSequence : public util::RNNCellBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("GRUSequence", "opset5", op::Op, 5);
|
OPENVINO_OP("GRUSequence", "opset5", op::Op);
|
||||||
GRUSequence();
|
GRUSequence();
|
||||||
|
|
||||||
GRUSequence(const Output<Node>& X,
|
GRUSequence(const Output<Node>& X,
|
||||||
|
@ -17,7 +17,7 @@ namespace v5 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API HSigmoid : public util::UnaryElementwiseArithmetic {
|
class OPENVINO_API HSigmoid : public util::UnaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("HSigmoid", "opset5", op::util::UnaryElementwiseArithmetic, 5);
|
OPENVINO_OP("HSigmoid", "opset5", op::util::UnaryElementwiseArithmetic);
|
||||||
HSigmoid() = default;
|
HSigmoid() = default;
|
||||||
|
|
||||||
/// \brief Constructs a HSigmoid operation.
|
/// \brief Constructs a HSigmoid operation.
|
||||||
|
@ -17,7 +17,7 @@ namespace v4 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API HSwish : public util::UnaryElementwiseArithmetic {
|
class OPENVINO_API HSwish : public util::UnaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("HSwish", "opset4", op::util::UnaryElementwiseArithmetic, 4);
|
OPENVINO_OP("HSwish", "opset4", op::util::UnaryElementwiseArithmetic);
|
||||||
HSwish() = default;
|
HSwish() = default;
|
||||||
|
|
||||||
/// \brief Constructs a HSwish (hard version of Swish) operation.
|
/// \brief Constructs a HSwish (hard version of Swish) operation.
|
||||||
|
@ -17,7 +17,7 @@ namespace v7 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API IDFT : public util::FFTBase {
|
class OPENVINO_API IDFT : public util::FFTBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("IDFT", "opset7", util::FFTBase, 7);
|
OPENVINO_OP("IDFT", "opset7", util::FFTBase);
|
||||||
IDFT() = default;
|
IDFT() = default;
|
||||||
|
|
||||||
/// \brief Constructs a IDFT operation. IDFT is performed for full size axes.
|
/// \brief Constructs a IDFT operation. IDFT is performed for full size axes.
|
||||||
|
@ -83,7 +83,7 @@ namespace v4 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Interpolate : public util::InterpolateBase {
|
class OPENVINO_API Interpolate : public util::InterpolateBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Interpolate", "opset4", util::InterpolateBase, 4);
|
OPENVINO_OP("Interpolate", "opset4", util::InterpolateBase);
|
||||||
|
|
||||||
Interpolate() = default;
|
Interpolate() = default;
|
||||||
/// \brief Constructs a Interpolate operation without 'axes' input.
|
/// \brief Constructs a Interpolate operation without 'axes' input.
|
||||||
@ -190,7 +190,7 @@ namespace v11 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Interpolate : public util::InterpolateBase {
|
class OPENVINO_API Interpolate : public util::InterpolateBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Interpolate", "opset11", util::InterpolateBase, 11);
|
OPENVINO_OP("Interpolate", "opset11", util::InterpolateBase);
|
||||||
Interpolate() = default;
|
Interpolate() = default;
|
||||||
/// \brief Constructs a Interpolate operation without 'axes' input.
|
/// \brief Constructs a Interpolate operation without 'axes' input.
|
||||||
///
|
///
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Less : public util::BinaryElementwiseComparison {
|
class OPENVINO_API Less : public util::BinaryElementwiseComparison {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Less", "opset1", op::util::BinaryElementwiseComparison, 1);
|
OPENVINO_OP("Less", "opset1", op::util::BinaryElementwiseComparison);
|
||||||
/// \brief Constructs a less-than operation.
|
/// \brief Constructs a less-than operation.
|
||||||
Less() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
Less() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
||||||
/// \brief Constructs a less-than operation.
|
/// \brief Constructs a less-than operation.
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API LessEqual : public util::BinaryElementwiseComparison {
|
class OPENVINO_API LessEqual : public util::BinaryElementwiseComparison {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("LessEqual", "opset1", op::util::BinaryElementwiseComparison, 1);
|
OPENVINO_OP("LessEqual", "opset1", op::util::BinaryElementwiseComparison);
|
||||||
/// \brief Constructs a less-than-or-equal operation.
|
/// \brief Constructs a less-than-or-equal operation.
|
||||||
LessEqual() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
LessEqual() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ namespace v5 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API LogSoftmax : public Op {
|
class OPENVINO_API LogSoftmax : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("LogSoftmax", "opset5", op::Op, 5);
|
OPENVINO_OP("LogSoftmax", "opset5", op::Op);
|
||||||
LogSoftmax() = default;
|
LogSoftmax() = default;
|
||||||
/// \brief Constructs a LogSoftmax operation.
|
/// \brief Constructs a LogSoftmax operation.
|
||||||
///
|
///
|
||||||
|
@ -16,7 +16,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API LogicalAnd : public util::BinaryElementwiseLogical {
|
class OPENVINO_API LogicalAnd : public util::BinaryElementwiseLogical {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("LogicalAnd", "opset1", util::BinaryElementwiseLogical, 1);
|
OPENVINO_OP("LogicalAnd", "opset1", util::BinaryElementwiseLogical);
|
||||||
/// \brief Constructs a logical-and operation.
|
/// \brief Constructs a logical-and operation.
|
||||||
LogicalAnd() = default;
|
LogicalAnd() = default;
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API LogicalNot : public Op {
|
class OPENVINO_API LogicalNot : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("LogicalNot", "opset1", op::Op, 1);
|
OPENVINO_OP("LogicalNot", "opset1", op::Op);
|
||||||
/// \brief Constructs a logical negation operation.
|
/// \brief Constructs a logical negation operation.
|
||||||
LogicalNot() = default;
|
LogicalNot() = default;
|
||||||
/// \brief Constructs a logical negation operation.
|
/// \brief Constructs a logical negation operation.
|
||||||
|
@ -16,7 +16,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API LogicalOr : public util::BinaryElementwiseLogical {
|
class OPENVINO_API LogicalOr : public util::BinaryElementwiseLogical {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("LogicalOr", "opset1", util::BinaryElementwiseLogical, 1);
|
OPENVINO_OP("LogicalOr", "opset1", util::BinaryElementwiseLogical);
|
||||||
LogicalOr() = default;
|
LogicalOr() = default;
|
||||||
/// \brief Constructs a logical-or operation.
|
/// \brief Constructs a logical-or operation.
|
||||||
///
|
///
|
||||||
|
@ -16,7 +16,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API LogicalXor : public util::BinaryElementwiseLogical {
|
class OPENVINO_API LogicalXor : public util::BinaryElementwiseLogical {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("LogicalXor", "opset2", util::BinaryElementwiseLogical, 1);
|
OPENVINO_OP("LogicalXor", "opset2", util::BinaryElementwiseLogical);
|
||||||
LogicalXor() = default;
|
LogicalXor() = default;
|
||||||
/// \brief Constructs a logical-xor operation.
|
/// \brief Constructs a logical-xor operation.
|
||||||
///
|
///
|
||||||
|
@ -31,7 +31,7 @@ public:
|
|||||||
int64_t body_condition_output_idx = -1;
|
int64_t body_condition_output_idx = -1;
|
||||||
};
|
};
|
||||||
|
|
||||||
OPENVINO_OP("Loop", "opset5", op::util::SubGraphOp, 5);
|
OPENVINO_OP("Loop", "opset5", op::util::SubGraphOp);
|
||||||
|
|
||||||
/// \brief Constructs a Loop operation.
|
/// \brief Constructs a Loop operation.
|
||||||
Loop() = default;
|
Loop() = default;
|
||||||
|
@ -278,7 +278,7 @@ namespace v4 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API LSTMCell : public util::RNNCellBase {
|
class OPENVINO_API LSTMCell : public util::RNNCellBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("LSTMCell", "opset4", op::util::RNNCellBase, 4);
|
OPENVINO_OP("LSTMCell", "opset4", op::util::RNNCellBase);
|
||||||
|
|
||||||
LSTMCell();
|
LSTMCell();
|
||||||
///
|
///
|
||||||
|
@ -127,7 +127,7 @@ namespace v5 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API LSTMSequence : public util::RNNCellBase {
|
class OPENVINO_API LSTMSequence : public util::RNNCellBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("LSTMSequence", "opset5", util::RNNCellBase, 5);
|
OPENVINO_OP("LSTMSequence", "opset5", util::RNNCellBase);
|
||||||
LSTMSequence() = default;
|
LSTMSequence() = default;
|
||||||
|
|
||||||
using direction = RecurrentSequenceDirection;
|
using direction = RecurrentSequenceDirection;
|
||||||
|
@ -15,7 +15,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API MaxPool : public op::util::MaxPoolBase {
|
class OPENVINO_API MaxPool : public op::util::MaxPoolBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("MaxPool", "opset1", op::util::MaxPoolBase, 1);
|
OPENVINO_OP("MaxPool", "opset1", op::util::MaxPoolBase);
|
||||||
|
|
||||||
/// \brief Constructs a batched max pooling operation.
|
/// \brief Constructs a batched max pooling operation.
|
||||||
MaxPool() = default;
|
MaxPool() = default;
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Maximum : public util::BinaryElementwiseArithmetic {
|
class OPENVINO_API Maximum : public util::BinaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Maximum", "opset1", op::util::BinaryElementwiseArithmetic, 1);
|
OPENVINO_OP("Maximum", "opset1", op::util::BinaryElementwiseArithmetic);
|
||||||
|
|
||||||
/// \brief Constructs a maximum operation.
|
/// \brief Constructs a maximum operation.
|
||||||
Maximum() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
Maximum() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Minimum : public util::BinaryElementwiseArithmetic {
|
class OPENVINO_API Minimum : public util::BinaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Minimum", "opset1", op::util::BinaryElementwiseArithmetic, 1);
|
OPENVINO_OP("Minimum", "opset1", op::util::BinaryElementwiseArithmetic);
|
||||||
|
|
||||||
/// \brief Constructs a minimum operation.
|
/// \brief Constructs a minimum operation.
|
||||||
Minimum() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
Minimum() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
||||||
|
@ -15,7 +15,7 @@ namespace v4 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Mish : public util::UnaryElementwiseArithmetic {
|
class OPENVINO_API Mish : public util::UnaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Mish", "opset4", util::UnaryElementwiseArithmetic, 4);
|
OPENVINO_OP("Mish", "opset4", util::UnaryElementwiseArithmetic);
|
||||||
|
|
||||||
Mish() = default;
|
Mish() = default;
|
||||||
/// \brief Constructs an Mish operation.
|
/// \brief Constructs an Mish operation.
|
||||||
|
@ -14,7 +14,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Mod : public util::BinaryElementwiseArithmetic {
|
class OPENVINO_API Mod : public util::BinaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Mod", "opset1", op::util::BinaryElementwiseArithmetic, 1);
|
OPENVINO_OP("Mod", "opset1", op::util::BinaryElementwiseArithmetic);
|
||||||
|
|
||||||
/// \brief Constructs a Mod node.
|
/// \brief Constructs a Mod node.
|
||||||
Mod() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
Mod() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Multiply : public util::BinaryElementwiseArithmetic {
|
class OPENVINO_API Multiply : public util::BinaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Multiply", "opset1", util::BinaryElementwiseArithmetic, 1);
|
OPENVINO_OP("Multiply", "opset1", util::BinaryElementwiseArithmetic);
|
||||||
|
|
||||||
/// \brief Constructs a multiplication operation.
|
/// \brief Constructs a multiplication operation.
|
||||||
Multiply() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
Multiply() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
||||||
|
@ -99,7 +99,7 @@ namespace v6 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API MVN : public Op {
|
class OPENVINO_API MVN : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("MVN", "opset6", op::Op, 6);
|
OPENVINO_OP("MVN", "opset6", op::Op);
|
||||||
|
|
||||||
MVN() = default;
|
MVN() = default;
|
||||||
/// \brief Constructs an MVN operation.
|
/// \brief Constructs an MVN operation.
|
||||||
|
@ -16,7 +16,7 @@ class OPENVINO_API NonMaxSuppression : public Op {
|
|||||||
public:
|
public:
|
||||||
enum class BoxEncodingType { CORNER, CENTER };
|
enum class BoxEncodingType { CORNER, CENTER };
|
||||||
|
|
||||||
OPENVINO_OP("NonMaxSuppression", "opset1", op::Op, 1);
|
OPENVINO_OP("NonMaxSuppression", "opset1", op::Op);
|
||||||
|
|
||||||
NonMaxSuppression() = default;
|
NonMaxSuppression() = default;
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ class OPENVINO_API NonMaxSuppression : public Op {
|
|||||||
public:
|
public:
|
||||||
enum class BoxEncodingType { CORNER, CENTER };
|
enum class BoxEncodingType { CORNER, CENTER };
|
||||||
|
|
||||||
OPENVINO_OP("NonMaxSuppression", "opset3", op::Op, 3);
|
OPENVINO_OP("NonMaxSuppression", "opset3", op::Op);
|
||||||
NonMaxSuppression() = default;
|
NonMaxSuppression() = default;
|
||||||
|
|
||||||
/// \brief Constructs a NonMaxSuppression operation.
|
/// \brief Constructs a NonMaxSuppression operation.
|
||||||
@ -166,7 +166,7 @@ namespace v4 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API NonMaxSuppression : public op::v3::NonMaxSuppression {
|
class OPENVINO_API NonMaxSuppression : public op::v3::NonMaxSuppression {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("NonMaxSuppression", "opset4", op::v3::NonMaxSuppression, 4);
|
OPENVINO_OP("NonMaxSuppression", "opset4", op::v3::NonMaxSuppression);
|
||||||
NonMaxSuppression() = default;
|
NonMaxSuppression() = default;
|
||||||
|
|
||||||
/// \brief Constructs a NonMaxSuppression operation.
|
/// \brief Constructs a NonMaxSuppression operation.
|
||||||
@ -217,7 +217,7 @@ namespace v5 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API NonMaxSuppression : public Op {
|
class OPENVINO_API NonMaxSuppression : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("NonMaxSuppression", "opset5", op::Op, 5);
|
OPENVINO_OP("NonMaxSuppression", "opset5", op::Op);
|
||||||
enum class BoxEncodingType { CORNER, CENTER };
|
enum class BoxEncodingType { CORNER, CENTER };
|
||||||
|
|
||||||
NonMaxSuppression() = default;
|
NonMaxSuppression() = default;
|
||||||
@ -365,7 +365,7 @@ namespace v9 {
|
|||||||
///
|
///
|
||||||
class OPENVINO_API NonMaxSuppression : public Op {
|
class OPENVINO_API NonMaxSuppression : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("NonMaxSuppression", "opset9", op::Op, 9);
|
OPENVINO_OP("NonMaxSuppression", "opset9", op::Op);
|
||||||
enum class BoxEncodingType { CORNER, CENTER };
|
enum class BoxEncodingType { CORNER, CENTER };
|
||||||
|
|
||||||
NonMaxSuppression() = default;
|
NonMaxSuppression() = default;
|
||||||
|
@ -20,7 +20,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API NonZero : public Op {
|
class OPENVINO_API NonZero : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("NonZero", "opset3", op::Op, 3);
|
OPENVINO_OP("NonZero", "opset3", op::Op);
|
||||||
/// \brief Constructs a NonZero operation.
|
/// \brief Constructs a NonZero operation.
|
||||||
NonZero() = default;
|
NonZero() = default;
|
||||||
/// \brief Constructs a NonZero operation.
|
/// \brief Constructs a NonZero operation.
|
||||||
|
@ -13,7 +13,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API NotEqual : public util::BinaryElementwiseComparison {
|
class OPENVINO_API NotEqual : public util::BinaryElementwiseComparison {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("NotEqual", "opset1", op::util::BinaryElementwiseComparison, 1);
|
OPENVINO_OP("NotEqual", "opset1", op::util::BinaryElementwiseComparison);
|
||||||
/// \brief Constructs a not-equal operation.
|
/// \brief Constructs a not-equal operation.
|
||||||
NotEqual() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
NotEqual() : util::BinaryElementwiseComparison(AutoBroadcastType::NUMPY) {}
|
||||||
/// \brief Constructs a not-equal operation.
|
/// \brief Constructs a not-equal operation.
|
||||||
|
@ -14,7 +14,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API OneHot : public Op {
|
class OPENVINO_API OneHot : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("OneHot", "opset1", op::Op, 1);
|
OPENVINO_OP("OneHot", "opset1", op::Op);
|
||||||
|
|
||||||
/// \brief Constructs a one-hot operation.
|
/// \brief Constructs a one-hot operation.
|
||||||
OneHot() = default;
|
OneHot() = default;
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
#define OPENVINO_OP(...) \
|
#define OPENVINO_OP(...) \
|
||||||
_OPENVINO_RTTI_EXPAND(_OPENVINO_RTTI_DEFINITION_SELECTOR(__VA_ARGS__, \
|
_OPENVINO_RTTI_EXPAND(_OPENVINO_RTTI_DEFINITION_SELECTOR(__VA_ARGS__, \
|
||||||
_OPENVINO_RTTI_WITH_TYPE_VERSIONS_PARENT, \
|
|
||||||
_OPENVINO_RTTI_WITH_TYPE_VERSION_PARENT, \
|
_OPENVINO_RTTI_WITH_TYPE_VERSION_PARENT, \
|
||||||
_OPENVINO_RTTI_OP_WITH_TYPE_VERSION, \
|
_OPENVINO_RTTI_OP_WITH_TYPE_VERSION, \
|
||||||
_OPENVINO_RTTI_OP_WITH_TYPE)(__VA_ARGS__)) \
|
_OPENVINO_RTTI_OP_WITH_TYPE)(__VA_ARGS__)) \
|
||||||
@ -40,7 +39,7 @@ protected:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
_OPENVINO_HIDDEN_METHOD static const ::ov::Node::type_info_t& get_type_info_static() {
|
_OPENVINO_HIDDEN_METHOD static const ::ov::Node::type_info_t& get_type_info_static() {
|
||||||
static ::ov::Node::type_info_t info{"Op", 0, "util"};
|
static ::ov::Node::type_info_t info{"Op", "util"};
|
||||||
info.hash();
|
info.hash();
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Pad : public Op {
|
class OPENVINO_API Pad : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Pad", "opset1", op::Op, 1);
|
OPENVINO_OP("Pad", "opset1", op::Op);
|
||||||
|
|
||||||
/// \brief Constructs a generic padding operation.
|
/// \brief Constructs a generic padding operation.
|
||||||
///
|
///
|
||||||
|
@ -28,7 +28,7 @@ namespace v1 {
|
|||||||
// clang-format on
|
// clang-format on
|
||||||
class OPENVINO_API Power : public util::BinaryElementwiseArithmetic {
|
class OPENVINO_API Power : public util::BinaryElementwiseArithmetic {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Power", "opset1", op::util::BinaryElementwiseArithmetic, 1);
|
OPENVINO_OP("Power", "opset1", op::util::BinaryElementwiseArithmetic);
|
||||||
|
|
||||||
Power() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
Power() : util::BinaryElementwiseArithmetic(AutoBroadcastType::NUMPY) {}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ namespace v4 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Proposal : public op::v0::Proposal {
|
class OPENVINO_API Proposal : public op::v0::Proposal {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Proposal", "opset4", op::Op, 4);
|
OPENVINO_OP("Proposal", "opset4", op::Op);
|
||||||
Proposal() = default;
|
Proposal() = default;
|
||||||
/// \brief Constructs a Proposal operation
|
/// \brief Constructs a Proposal operation
|
||||||
///
|
///
|
||||||
|
@ -13,7 +13,7 @@ namespace v4 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API Range : public Op {
|
class OPENVINO_API Range : public Op {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("Range", "opset4", op::Op, 4);
|
OPENVINO_OP("Range", "opset4", op::Op);
|
||||||
/// \brief Constructs an unitialized range operation.
|
/// \brief Constructs an unitialized range operation.
|
||||||
Range() = default;
|
Range() = default;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ namespace v3 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ReadValue : public util::ReadValueBase {
|
class OPENVINO_API ReadValue : public util::ReadValueBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ReadValue", "opset3", util::ReadValueBase, 3);
|
OPENVINO_OP("ReadValue", "opset3", util::ReadValueBase);
|
||||||
ReadValue() = default;
|
ReadValue() = default;
|
||||||
|
|
||||||
/// \brief Constructs a ReadValue operation.
|
/// \brief Constructs a ReadValue operation.
|
||||||
@ -45,7 +45,7 @@ namespace v6 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ReadValue : public util::ReadValueBase {
|
class OPENVINO_API ReadValue : public util::ReadValueBase {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ReadValue", "opset6", util::ReadValueBase, 6);
|
OPENVINO_OP("ReadValue", "opset6", util::ReadValueBase);
|
||||||
ReadValue() = default;
|
ReadValue() = default;
|
||||||
|
|
||||||
/// \brief Constructs a ReadValue operation.
|
/// \brief Constructs a ReadValue operation.
|
||||||
|
@ -16,7 +16,7 @@ namespace v4 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ReduceL1 : public util::ArithmeticReductionKeepDims {
|
class OPENVINO_API ReduceL1 : public util::ArithmeticReductionKeepDims {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ReduceL1", "opset4", util::ArithmeticReductionKeepDims, 4);
|
OPENVINO_OP("ReduceL1", "opset4", util::ArithmeticReductionKeepDims);
|
||||||
/// \brief Constructs a reducet L1-norm operation.
|
/// \brief Constructs a reducet L1-norm operation.
|
||||||
ReduceL1() = default;
|
ReduceL1() = default;
|
||||||
/// \brief Constructs a reduce L1-norm operation.
|
/// \brief Constructs a reduce L1-norm operation.
|
||||||
|
@ -15,7 +15,7 @@ namespace v4 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ReduceL2 : public util::ArithmeticReductionKeepDims {
|
class OPENVINO_API ReduceL2 : public util::ArithmeticReductionKeepDims {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ReduceL2", "opset4", util::ArithmeticReductionKeepDims, 4);
|
OPENVINO_OP("ReduceL2", "opset4", util::ArithmeticReductionKeepDims);
|
||||||
/// \brief Constructs a reducet L2-norm operation.
|
/// \brief Constructs a reducet L2-norm operation.
|
||||||
ReduceL2() = default;
|
ReduceL2() = default;
|
||||||
/// \brief Constructs a reduce L2-norm operation.
|
/// \brief Constructs a reduce L2-norm operation.
|
||||||
|
@ -16,7 +16,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ReduceLogicalAnd : public util::LogicalReductionKeepDims {
|
class OPENVINO_API ReduceLogicalAnd : public util::LogicalReductionKeepDims {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ReduceLogicalAnd", "opset1", util::LogicalReductionKeepDims, 1);
|
OPENVINO_OP("ReduceLogicalAnd", "opset1", util::LogicalReductionKeepDims);
|
||||||
ReduceLogicalAnd() = default;
|
ReduceLogicalAnd() = default;
|
||||||
/// \brief Constructs a ReduceLogicalAnd node.
|
/// \brief Constructs a ReduceLogicalAnd node.
|
||||||
///
|
///
|
||||||
|
@ -16,7 +16,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ReduceLogicalOr : public util::LogicalReductionKeepDims {
|
class OPENVINO_API ReduceLogicalOr : public util::LogicalReductionKeepDims {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ReduceLogicalOr", "opset1", util::LogicalReductionKeepDims, 1);
|
OPENVINO_OP("ReduceLogicalOr", "opset1", util::LogicalReductionKeepDims);
|
||||||
ReduceLogicalOr() = default;
|
ReduceLogicalOr() = default;
|
||||||
/// \brief Constructs a ReduceLogicalOr node.
|
/// \brief Constructs a ReduceLogicalOr node.
|
||||||
///
|
///
|
||||||
|
@ -14,7 +14,7 @@ namespace v1 {
|
|||||||
/// \ingroup ov_ops_cpp_api
|
/// \ingroup ov_ops_cpp_api
|
||||||
class OPENVINO_API ReduceMax : public util::ArithmeticReductionKeepDims {
|
class OPENVINO_API ReduceMax : public util::ArithmeticReductionKeepDims {
|
||||||
public:
|
public:
|
||||||
OPENVINO_OP("ReduceMax", "opset1", util::ArithmeticReductionKeepDims, 1);
|
OPENVINO_OP("ReduceMax", "opset1", util::ArithmeticReductionKeepDims);
|
||||||
/// \brief Constructs a summation operation.
|
/// \brief Constructs a summation operation.
|
||||||
ReduceMax() = default;
|
ReduceMax() = default;
|
||||||
/// \brief Constructs a summation operation.
|
/// \brief Constructs a summation operation.
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user