remove_node

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Usage

Removes nodes from a graph.

Prototype

1
remove_node(node: Node) -> None

Parameters

Parameter

Input/Output

Description

node

Input

Node to be removed.

Returns

None

Restrictions

  • If node is not of the node type, TypeError is thrown.
  • If the removal fails, RuntimeError is thrown.