remove_subgraph
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Removes a subgraph by name.
Prototype
1 | remove_subgraph(name: str) -> None |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
name |
Input |
Subgraph name, which is of the string type. |
Returns
None
Restrictions
- If name is not a string, TypeError is thrown.
- If the removal fails, RuntimeError is thrown.
Parent topic: Graph