load_from_air

Applicable Products

All processors

Function Usage

Loads a graph from the AIR format.

Prototype

1
load_from_air(file_path: str) -> None

Parameters

Parameter

Input/Output

Description

file_path

Input

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

Returns

None

Restrictions

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