save_to_air

Applicable Products

All processors

Function Usage

Saves a graph in AIR format.

Prototype

1
save_to_air(file_path: str) -> None

Parameters

Parameter

Input/Output

Description

file_path

Input

Path and name of the AIR file to be saved, which is of the string type.

Returns

None

Restrictions

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