16 #include <ngraph/node.hpp>
17 #include <ngraph/variant.hpp>
18 #include <transformations_visibility.hpp>
30 std::string dequantization_attribute;
50 extern template class TRANSFORMATIONS_API VariantImpl<DequantizationAttr>;
55 static constexpr VariantTypeInfo type_info{
"DEQUANTIZATION", 0};
57 const VariantTypeInfo &get_type_info()
const override {
61 VariantWrapper(
const value_type &value) : VariantImpl<value_type>(value) {}
63 std::shared_ptr<ngraph::Variant> merge(
const ngraph::NodeVector & nodes)
override;
65 std::shared_ptr<ngraph::Variant> init(
const std::shared_ptr<ngraph::Node> & node)
override;
73 TRANSFORMATIONS_API std::string
getDequantization(
const std::shared_ptr<ngraph::Node>& node);
Dequantization class represents runtime info attribute that indicates whether the operation is dequan...
Definition: dequantization_attribute.hpp:28
DequantizationAttr()=default
std::string getDequantizationAttr() const
return string with dequantization value
DequantizationAttr(const std::string &name)
Constructs a new object consisting of a single name *.
Definition: dequantization_attribute.hpp:42
Definition: dequantization_attribute.hpp:53
ngraph namespace
Definition: add_fake_quantize_fusion.hpp:14
std::string getDequantization(const std::shared_ptr< ngraph::Node > &node)
getDequantization return string with dequantization value