--output

Applicability

Product

Supported (√/x)

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

Description

Specifies the directory, including the file name of the tuned model, for example, ${HOME}/test/out/tf_resnet50. The name of the generated model file is suffixed with .om, for example, tf_resnet50.om or tf_resnet50_linux_x86_64.om. If the name of an .om file contains an OS and architecture, the .om file can be used only in the operating environment with the OS and architecture. To use the model in operating environments with other OSs and architectures, use ATC to convert it again (with the --host_env_os and --host_env_cpu options). For details, see the ATC.

See Also

None

Arguments

Argument: path of the tuned model, including the file name.

Format: The file name can contain uppercase and lowercase letters (A–Z, a–z), digits (0–9), underscores (_), hyphens (-), periods (.), and Chinese characters.

Suggestions and Benefits

None

Examples

  • Caffe network:
    --output=${HOME}/test/out/caffe_resnet50
  • TensorFlow network:
    --output=${HOME}/test/out/tf_resnet50
  • ONNX network:
    --output=${HOME}/module/out/onnx_resnet50

Dependencies and Restrictions

None