class ngraph::PrecisionPreservedAttribute

Overview

PrecisionPreservedAttribute defines the precision preserved operation. If the attribute is absent, then an operation is not precision preserved. More…

#include <precision_preserved_attribute.hpp>

class PrecisionPreservedAttribute: public SharedAttribute
{
public:
    // construction

    PrecisionPreservedAttribute();
    PrecisionPreservedAttribute(const bool value);

    // methods

    OPENVINO_RTTI("LowPrecision::PrecisionPreserved", "", ov::RuntimeAttribute, 0);
    virtual std::string to_string() const;
};

// direct descendants

class AvgPoolPrecisionPreservedAttribute;

Inherited Members

public:
    // typedefs

    typedef std::shared_ptr<RuntimeAttribute> Ptr;
    typedef std::tuple<::ov::RuntimeAttribute> Base;

    // classes

    class SharedValueAttribute;

    // fields

    std::shared_ptr<SharedValueAttribute> attribute;

    // methods

    static _OPENVINO_HIDDEN_METHOD const DiscreteTypeInfo& get_type_info_static();
    virtual const DiscreteTypeInfo& get_type_info() const;
    virtual bool is_copyable() const;
    virtual Any init(const std::shared_ptr<Node>& node) const;
    virtual Any merge(const ov::NodeVector& nodes) const;
    virtual Any merge(const ov::OutputVector& outputs) const;
    virtual std::string to_string() const;
    virtual bool visit_attributes(AttributeVisitor&);
    bool visit_attributes(AttributeVisitor& visitor) const;
    const T& value() const;
    T& value();

Detailed Documentation

PrecisionPreservedAttribute defines the precision preserved operation. If the attribute is absent, then an operation is not precision preserved.

For more details about the attribute, refer to PrecisionPreservedAttribute page in the Inference Engine Developer Guide.