forked from mindspore-Ecosystem/mindspore
!26843 set mindspore cxx_api LoadConfig unsupported instead of undefined
Merge pull request !26843 from qinzheng/fix_load_config
This commit is contained in:
commit
baf0f479c1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue