--is_output_adjust_hw_layout

Description

Sets the network output data type to float16 and data format to NC1HWC0 together with --out_nodes. Setting this option separately does not take effect, but the model will be successfully converted.

See Also

  • Set --is_output_adjust_hw_layout to true and use this option together with --out_nodes that sets the node output type to float16 and output format to NC1HWC0.
  • When --framework is set to 1, this option is invalid in the MindSpore framework, but the model will be successfully converted.

Argument

Argument: false or true

Default: false

Suggestions and Benefits

None

Example

atc --model=$HOME/module/resnet50_tensorflow*.pb --framework=3 --output=$HOME/module/out/tf_resnet50 --is_output_adjust_hw_layout=true  --out_nodes="prob:0" --soc_version=<soc_version>

Applicability

Atlas 200/300/500 Inference Product

Atlas Training Series Product

Dependencies and Restrictions

None