Nuget build break fix (#4854)

* rename new header file to fix build break

* update code to use the new header file name
This commit is contained in:
gwang-msft 2020-08-18 20:51:33 -07:00 committed by GitHub
parent 5eaac31faa
commit fff0b41fcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "session_options_config_keys.h"
#include "onnxruntime_session_options_config_keys.h"
// This value is used in structures passed to ORT so that a newer version of ORT will still work with them
#define ORT_API_VERSION 5
@ -876,7 +876,7 @@ struct OrtApi {
* If a configuration with same key exists, this will overwrite the configuration with the given config_value
* \param config_key A null terminated string representation of the config key
* \param config_value A null terminated string representation of the config value
* The config_key and the format of config_value are defined in session_options_config_keys.h
* The config_key and the format of config_value are defined in onnxruntime_session_options_config_keys.h
*/
ORT_API2_STATUS(AddSessionConfigEntry, _Inout_ OrtSessionOptions* options,
_In_z_ const char* config_key, _In_z_ const char* config_value);

View file

@ -85,7 +85,7 @@ struct SessionOptions {
// Stores the configurations for this session
// To add an configuration to this session, call OrtApis::AddSessionConfigEntry
// The configuration keys and value formats are defined in
// /include/onnxruntime/core/session/session_options_config_keys.h
// /include/onnxruntime/core/session/onnxruntime_session_options_config_keys.h
std::unordered_map<std::string, std::string> session_configurations;
};