Skip to content

Commit

Permalink
Import from inference, not fluid in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinagacek committed Oct 12, 2022
1 parent 514ebbb commit e08d033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paddle/fluid/pybind/inference_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e08d033

Please sign in to comment.