Disabling Buffer Optimization

Buffer optimization is enabled by default to improve computing efficiency and performance. However, it is possible that your model contains an operator that is not yet covered by the current implementation.

If the inference accuracy meets requirements after the buffer optimization function is disabled, submit the error operator to technical support, who will add buffer optimization support to your operator as soon as possible. (After obtaining the logs, click here to contact technical support.)

  1. Include the --buffer_optimize option in your atc command line.

    Example:

    --buffer_optimize=off_optimize

    For details about this parameter, see --buffer_optimize in ATC Instructions.

  2. Run inference on the new OM.

Before contacting technical support, set the DUMP_GE_GRAPH and DUMP_GRAPH_LEVEL environment variables, convert the model again, and dump graphs in each phase during model conversion. For details about the environment variables and dump graphs, see "See Also > Dump Graph Details" in ATC Instructions.