The documentation page ONNXRUNTIME/PACKAGE_REFERENCE/#OPTIMUM.ONNXRUNTIME.ORTOPTIMIZER.GET_NODES_NUMBER_DIFFERENCE.ONNX_OPTIMIZED_MODEL_PATH doesn’t exist in v1.22.0, but exists on the main version. Click here to redirect to the main version of the documentation.