2021-01-22 23:15:53 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "LearningModelSessionOptionsExperimental.g.h"
|
|
|
|
|
|
|
|
|
|
namespace WINML_EXPERIMENTALP {
|
|
|
|
|
|
2023-07-26 04:56:50 +00:00
|
|
|
struct LearningModelSessionOptionsExperimental
|
|
|
|
|
: LearningModelSessionOptionsExperimentalT<LearningModelSessionOptionsExperimental> {
|
2023-07-01 05:17:35 +00:00
|
|
|
LearningModelSessionOptionsExperimental(const winml::LearningModelSessionOptions& options);
|
|
|
|
|
LearningModelSessionOptionsExperimental(const winml::LearningModelSession& session);
|
2021-01-22 23:15:53 +00:00
|
|
|
|
|
|
|
|
wfc::IMapView<winrt::hstring, uint32_t> GetNamedDimensionOverrides();
|
2023-07-01 05:17:35 +00:00
|
|
|
void RegisterCustomOpsLibrary(const hstring& path);
|
2021-01-22 23:15:53 +00:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
wfc::IMapView<winrt::hstring, uint32_t> overrides_;
|
2023-07-01 05:17:35 +00:00
|
|
|
winml::LearningModelSessionOptions options_;
|
2021-01-22 23:15:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace WINML_EXPERIMENTALP
|
2023-07-01 05:17:35 +00:00
|
|
|
|
|
|
|
|
namespace WINML_EXPERIMENTAL::factory_implementation {
|
|
|
|
|
|
2023-07-26 04:56:50 +00:00
|
|
|
struct LearningModelSessionOptionsExperimental : LearningModelSessionOptionsExperimentalT<
|
|
|
|
|
LearningModelSessionOptionsExperimental,
|
|
|
|
|
implementation::LearningModelSessionOptionsExperimental> {};
|
2023-07-01 05:17:35 +00:00
|
|
|
|
2023-08-15 03:50:14 +00:00
|
|
|
} // namespace WINML_EXPERIMENTAL::factory_implementation
|