class ov::OldApiMapOrder

Overview

OldApiMapOrder class represents runtime info attribute that stores order of the transpose that is required for obtaining IR in old API. More…

#include <old_api_map_order_attribute.hpp>

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

    std::vector<uint64_t> value;

    // construction

    OldApiMapOrder();
    OldApiMapOrder(const std::vector<uint64_t>& value);

    // methods

    OPENVINO_RTTI("old_api_map_order", "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

OldApiMapOrder class represents runtime info attribute that stores order of the transpose that is required for obtaining IR in old API.

OldApiMapOrder stores the following information. Parameter: Order of the transpose which should be applied to Parameter with old API layout to obtain Parameter with new API layout.

Result: Order of the transpose which should be applied to Result with new API layout to obtain Result with old API layout.

Construction

OldApiMapOrder()

A default constructor

OldApiMapOrder(const std::vector<uint64_t>& value)

Constructs a new OldApiMapOrder object.

Parameters:

value

The object that stores values of OldApiMapOrder.