We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 869e08f commit 1e4d499Copy full SHA for 1e4d499
paddle/fluid/pybind/inference_api.cc
@@ -824,7 +824,8 @@ void BindAnalysisConfig(py::module *m) {
824
.def("disable_glog_info", &AnalysisConfig::DisableGlogInfo)
825
.def("glog_info_disabled", &AnalysisConfig::glog_info_disabled)
826
.def("enable_save_optimized_model",
827
- &AnalysisConfig::EnableSaveOptimizedModel)
+ &AnalysisConfig::EnableSaveOptimizedModel,
828
+ py::arg("x") = false)
829
.def("set_optim_cache_dir", &AnalysisConfig::SetOptimCacheDir)
830
.def("switch_use_feed_fetch_ops",
831
&AnalysisConfig::SwitchUseFeedFetchOps,
0 commit comments