--output
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 automatically 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 Instructions.
See Also
None
Arguments
Argument: Path of the tuned model, including the file name.
Format: The file name can contain letters, digits, 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