class ov::pass::ConcatReduceFusion

Overview

ConcatReduceFusion pass replaces the following graph: More…

#include <concat_reduce_fusion.hpp>

class ConcatReduceFusion: public ov::pass::GraphRewrite
{
public:
    // methods

    "ConcatReduceFusion""0" OPENVINO_RTTI(, );
};

Inherited Members

public:
    // typedefs

    typedef DiscreteTypeInfo type_info_t;

    // methods

    boolconst PassPropertyMask& get_property() const;
    voidconst std::string& set_name();
    std::string get_name() const;
    voidconst param_callback& set_callback();
    virtual voidconst std::shared_ptr<PassConfig>& set_pass_config();
    std::shared_ptr<PassConfig> get_pass_config();
    boolconst std::shared_ptr<const Node>& transformation_callback();
    virtual const type_info_t& get_type_info() const = 0;
    "ov::pass::ModelPass" OPENVINO_RTTI();
    virtual boolconst std::shared_ptr<ov::Model>& run_on_model() = 0;
    "ov::pass::GraphRewrite" OPENVINO_RTTI();

    template <, , , >
    std::shared_ptr<T>Args&&... add_matcher();

    template <, , >
    voidArgs&&... add_matcher();

    std::shared_ptr<MatcherPass>const std::shared_ptr<MatcherPass>& add_matcher();
    virtual boolconst std::shared_ptr<ov::Model>& run_on_model();
    virtual voidconst std::shared_ptr<PassConfig>& set_pass_config();

Detailed Documentation

ConcatReduceFusion pass replaces the following graph:

+---------------+            +---------------+
                           |               |
     input                 |     input     |
                           |               |
+---------------+            +----------------
        |                            |
        |                            |
        \                            /
         \                          /
          \                        /
           \                      /
            \                    /
             \                  /
              \                /
               \              /
                \            /
               +---------------+
               |               |
               |     Concat    |
               |               |
               +----------------
                       |
                       v
               +---------------+
               |               |
               |   ReduceMin/  |
               |   ReduceMax   |
               +----------------

by a single Minimum/Maximum with 2 inputs and tries to eliminate Squeeze/Unsqueeze layers before and after Min/Max.