2021-11-13 00:56:31 +00:00
|
|
|
#pragma once
|
|
|
|
|
#include "LearningModelExperimental.g.h"
|
|
|
|
|
|
|
|
|
|
namespace WINML_EXPERIMENTALP {
|
|
|
|
|
|
2023-07-26 04:56:50 +00:00
|
|
|
struct LearningModelExperimental : LearningModelExperimentalT<LearningModelExperimental> {
|
|
|
|
|
LearningModelExperimental() = default;
|
2021-11-13 00:56:31 +00:00
|
|
|
|
2023-07-26 04:56:50 +00:00
|
|
|
LearningModelExperimental(Microsoft::AI::MachineLearning::LearningModel const& model);
|
|
|
|
|
Microsoft::AI::MachineLearning::LearningModel JoinModel(
|
|
|
|
|
Microsoft::AI::MachineLearning::LearningModel const& other,
|
|
|
|
|
Microsoft::AI::MachineLearning::Experimental::LearningModelJoinOptions const& options
|
|
|
|
|
);
|
2021-11-13 00:56:31 +00:00
|
|
|
|
2023-07-26 04:56:50 +00:00
|
|
|
void Save(hstring const& file_name);
|
2021-11-13 00:56:31 +00:00
|
|
|
|
2023-07-26 04:56:50 +00:00
|
|
|
void SetName(hstring const& model_name);
|
2022-02-25 22:23:49 +00:00
|
|
|
|
2023-07-26 04:56:50 +00:00
|
|
|
private:
|
|
|
|
|
Microsoft::AI::MachineLearning::LearningModel model_;
|
2021-11-13 00:56:31 +00:00
|
|
|
};
|
|
|
|
|
|
2023-08-15 03:50:14 +00:00
|
|
|
} // namespace WINML_EXPERIMENTALP
|
2021-11-13 00:56:31 +00:00
|
|
|
|
|
|
|
|
namespace WINML_EXPERIMENTAL::factory_implementation {
|
|
|
|
|
|
2023-07-26 04:56:50 +00:00
|
|
|
struct LearningModelExperimental
|
|
|
|
|
: LearningModelExperimentalT<LearningModelExperimental, implementation::LearningModelExperimental> {};
|
2021-11-13 00:56:31 +00:00
|
|
|
|
2023-08-15 03:50:14 +00:00
|
|
|
} // namespace WINML_EXPERIMENTAL::factory_implementation
|