class ov::op::util::MultiSubGraphOp::SliceInputDescription

Overview

Describes a body input formed from slices of an input to MultiSubGraphOp. More…

#include <multi_subgraph_base.hpp>

class SliceInputDescription: public ov::op::util::MultiSubGraphOp::InputDescription
{
public:
    // fields

     BWDCMP_RTTI_DECLARATION;
    int64_t m_start {0};
    int64_t m_stride {0};
    int64_t m_part_size {0};
    int64_t m_end {0};
    int64_t m_axis {0};

    // construction

    SliceInputDescription(
        uint64_t input_index,
        uint64_t body_parameter_index,
        int64_t start,
        int64_t stride,
        int64_t part_size,
        int64_t end,
        int64_t axis
        );

    SliceInputDescription();

    // methods

    OPENVINO_RTTI("SliceInputDescription");
    virtual std::shared_ptr<InputDescription> copy() const;
};

Inherited Members

public:
    // typedefs

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

    // fields

    uint64_t m_input_index {0};
    uint64_t m_body_parameter_index {0};

    // methods

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

Detailed Documentation

Describes a body input formed from slices of an input to MultiSubGraphOp.

Construction

SliceInputDescription(
    uint64_t input_index,
    uint64_t body_parameter_index,
    int64_t start,
    int64_t stride,
    int64_t part_size,
    int64_t end,
    int64_t axis
    )

Constructs a new instance.

Parameters:

input_index

Position of the MultiSubGraphOp input

body_parameter_index

Body parameter position to receive input

start

First index for slices

stride

Step amount for slices

part_size

Width of slices

end

Last index for slices

axis

Axis being sliced