save_to_air

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

Saves a graph in AIR format.

Prototype

1
save_to_air(file_path: str) -> None

Parameters

Parameter

Input/Output

Description

file_path

Input

Path for saving the AIR file. The value 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.