class SharedAttribute

#include <shared_value_attribute.hpp>

template <class T>
class SharedAttribute: public ov::RuntimeAttribute
{
public:
    // classes

    class SharedValueAttribute;

    // fields

    std::shared_ptr<SharedValueAttribute> attribute;

    // construction

    SharedAttribute();
    SharedAttribute(const T& value);

    // methods

    const T& value() const;
    T& value();
};

// direct descendants

class IntervalsAlignmentAttribute;
class PrecisionPreservedAttribute;
class PrecisionsAttribute;
class QuantizationAlignmentAttribute;

Inherited Members

public:
    // typedefs

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

    // 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;