class ov::OldApiMapElementType

Overview

OldApiMapElementType class represents runtime info attribute that stores legacy type that is required for obtaining IR in old API. More…

#include <old_api_map_element_type_attribute.hpp>

class OldApiMapElementType: public ov::RuntimeAttribute
{
public:
    // fields

    ov::element::Type value;

    // construction

    OldApiMapElementType();
    OldApiMapElementType(const ov::element::Type& value);

    // methods

    OPENVINO_RTTI("old_api_map_element_type", "0");
    virtual bool is_copyable() const;
    virtual bool visit_attributes(AttributeVisitor& visitor);
};

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;

Detailed Documentation

OldApiMapElementType class represents runtime info attribute that stores legacy type that is required for obtaining IR in old API.

Construction

OldApiMapElementType()

A default constructor

OldApiMapElementType(const ov::element::Type& value)

Constructs a new OldApiMapElementType object.

Parameters:

value

The object that stores values of OldApiMapElementType.