--check_report

Description

Sets the precheck result file directory, including the file name.

See Also

--mode: If a graph fails to be parsed with --mode set to 0, or if --mode is set to 3 to perform precheck only, this option is used to generate the precheck result file check_result.json.

Argument

Argument: Directory (including the name) of the precheck result file.

Format: The directory (including the file name) can contain letters, digits, underscores (_), hyphens (-), periods (.), and Chinese characters.

Default: check_result.json generated in the current path where the atc command is executed.

Suggestions and Benefits

None

Example

--check_report=$HOME/module/out/check_result.json

Applicability

Atlas 200/300/500 Inference Product

Atlas Training Series Product

Restrictions

The saving path of the precheck result file can be configured through the ASCEND_WORK_PATH environment variable, in addition to by setting the --check_report. The priority of the several methods is as follows:

--check_report option > environment variable ASCEND_WORK_PATH > default saving path (current path where the atc command is executed)

For details about ASCEND_WORK_PATH, see Environment Variables.