Overview

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

Header Files 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)