18 #include <ngraph/node.hpp>
19 #include <ngraph/variant.hpp>
20 #include <transformations_visibility.hpp>
31 std::string primitives_priority;
43 explicit PrimitivesPriority(
const std::string &primitives_priority) : primitives_priority(primitives_priority) {}
51 extern template class TRANSFORMATIONS_API VariantImpl<PrimitivesPriority>;
56 static constexpr VariantTypeInfo type_info{
"Variant::RuntimeAttribute::PrimitivesPriority", 0};
58 const VariantTypeInfo &get_type_info()
const override {
62 VariantWrapper(
const value_type &value) : VariantImpl<value_type>(value) {}
64 std::shared_ptr<ngraph::Variant> merge(
const ngraph::NodeVector & nodes)
override;
66 std::shared_ptr<ngraph::Variant> init(
const std::shared_ptr<ngraph::Node> & node)
override;
PrimitivesPriority class represents runtime info attribute that can be used for plugins specific prim...
Definition: primitives_priority_attribute.hpp:29
PrimitivesPriority()=default
PrimitivesPriority(const std::string &primitives_priority)
Constructs a new object consisting of a single name *.
Definition: primitives_priority_attribute.hpp:43
std::string getPrimitivesPriority() const
return string with primitives priority value
Definition: primitives_priority_attribute.hpp:54
ngraph namespace
Definition: add_fake_quantize_fusion.hpp:14
std::string getPrimitivesPriority(const std::shared_ptr< ngraph::Node > &node)
getPrimitivesPriority return string with primitive priorities value