mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-06 00:03:22 +00:00
winml/ was previously excluded from lintrunner config. This change includes the directory and adds the clang-format config file specific to winml/ that fits existing style. --------- Signed-off-by: Justin Chu <justinchu@microsoft.com>
30 lines
970 B
C++
30 lines
970 B
C++
#pragma once
|
|
#include "LearningModelExperimental.g.h"
|
|
|
|
namespace WINML_EXPERIMENTALP {
|
|
|
|
struct LearningModelExperimental : LearningModelExperimentalT<LearningModelExperimental> {
|
|
LearningModelExperimental() = default;
|
|
|
|
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
|
|
);
|
|
|
|
void Save(hstring const& file_name);
|
|
|
|
void SetName(hstring const& model_name);
|
|
|
|
private:
|
|
Microsoft::AI::MachineLearning::LearningModel model_;
|
|
};
|
|
|
|
}// namespace WINML_EXPERIMENTALP
|
|
|
|
namespace WINML_EXPERIMENTAL::factory_implementation {
|
|
|
|
struct LearningModelExperimental
|
|
: LearningModelExperimentalT<LearningModelExperimental, implementation::LearningModelExperimental> {};
|
|
|
|
}// namespace WINML_EXPERIMENTAL::factory_implementation
|