save_to_air

Function Usage

Save the graph in AIR format.

Prototype

1
save_to_air(file_path: str) -> None

Parameters

Parameter

Input/Output

Description

file_path

Input

Path for storing the AIR file, which is of the string type.

Returns

None

Constraints

  • If file_path is not a string, TypeError is thrown.
  • If the saving fails, RuntimeError is thrown.