replacement

Applicable Products

All processors

Function Usage

Generate a decomposed subgraph.

Prototype

1
replacement(self, node: Node) -> Graph

Parameters

Parameter

Input/Output

Description

node

Input

Node to be decomposed, which is of the ge.graph.Node type.

Returns

Type

Description

Graph

The subgraph after decomposition, which is of the ge.graph.Graph type.

Restrictions

None