!26843 set mindspore cxx_api LoadConfig unsupported instead of undefined

Merge pull request !26843 from qinzheng/fix_load_config
This commit is contained in:
i-robot 2021-12-01 02:28:13 +00:00 committed by Gitee
commit baf0f479c1
1 changed files with 5 additions and 0 deletions

View File

@ -187,4 +187,9 @@ bool Model::CheckModelSupport(enum DeviceType device_type, ModelType model_type)
return check_model->CheckModelSupport(model_type);
}
Status Model::LoadConfig(const std::vector<char> &config_path) {
MS_LOG(ERROR) << "Unsupported Feature.";
return kMCFailed;
}
} // namespace mindspore