class ov::op::util::MultiSubGraphOp::BodyOutputDescription

Overview

Produces an output from a specific iteration. More…

#include <multi_subgraph_base.hpp>

class BodyOutputDescription: public ov::op::util::MultiSubGraphOp::OutputDescription
{
public:
    // fields

     BWDCMP_RTTI_DECLARATION;
    int64_t m_iteration {0};

    // construction

    BodyOutputDescription(
        uint64_t body_value_index,
        uint64_t output_index,
        int64_t iteration = -1
        );

    BodyOutputDescription();

    // methods

    OPENVINO_RTTI("BodyOutputDescription");
    virtual std::shared_ptr<MultiSubGraphOp::OutputDescription> copy() const;
};

Inherited Members

public:
    // typedefs

    typedef std::shared_ptr<OutputDescription> Ptr;
    typedef DiscreteTypeInfo type_info_t;

    // fields

    uint64_t m_body_value_index {0};
    uint64_t m_output_index {0};

    // methods

    virtual std::shared_ptr<OutputDescription> copy() const = 0;
    virtual const type_info_t& get_type_info() const = 0;

Detailed Documentation

Produces an output from a specific iteration.

Construction

BodyOutputDescription(
    uint64_t body_value_index,
    uint64_t output_index,
    int64_t iteration = -1
    )

Constructs a new instance.

Parameters:

body_value_index

A body value that produces the output

output_index

The SubGraphOp output index

iteration

which iteration (typically -1, final) will supply the value