Overview

A tool class for graph modification. It takes a range in a graph and a replacement graph, and uses the replacement graph to replace the nodes in the given range.

Header File to Be Included

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

Public Member Functions

static Status Replace(const SubgraphBoundary &subgraph, const Graph &replacement)
static Status Replace(const SubgraphBoundary &subgraph, Graph &&replacement)