mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-02 23:39:58 +00:00
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:
parent
5eaac31faa
commit
fff0b41fcb
3 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue