From e08d03359196322d4f885f014be13a23843d9e0f Mon Sep 17 00:00:00 2001 From: paulinagacek Date: Wed, 12 Oct 2022 10:31:13 +0000 Subject: [PATCH] Import from inference, not fluid in doc --- paddle/fluid/pybind/inference_api.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/pybind/inference_api.cc b/paddle/fluid/pybind/inference_api.cc index fd77df192dd20..cc6808a5ad42f 100644 --- a/paddle/fluid/pybind/inference_api.cc +++ b/paddle/fluid/pybind/inference_api.cc @@ -813,9 +813,9 @@ void BindAnalysisConfig(py::module *m) { None. Examples: .. code-block:: python - from paddle.fluid.core import AnalysisConfig + from paddle.inference import Config - config = AnalysisConfig("") + config = Config("") config.enable_mkldnn() config.disable_mkldnn_fc_passes() )DOC")