Overview

Provides graph fusion check tools to determine fusion feasibility and report results for custom fusion passes.

Header Files to Be Included

1
#include <ge/fusion/graph_fuse_inspector_utils.h>

Public Member Functions

static bool CanFuse(const std::vector<GNode> &nodes_before_fuse, AscendString &failed_reason)
static Status ReportFuse(const std::vector<GNode> &nodes_before_fuse, const std::vector<GNode> &nodes_after_fuse, CustomPassContext &ctx)