mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
* Dynamic onnx model fusion * empty node names shoudl remain empty * comments and cleanup * logic reversed for promoting_unlined_outputs * PR feedback * type * typo * fix model outputs with promote unlinked output * remove disembodied model Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
27 lines
835 B
C++
27 lines
835 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);
|
|
|
|
private:
|
|
Microsoft::AI::MachineLearning::LearningModel model_;
|
|
};
|
|
|
|
}
|
|
|
|
namespace WINML_EXPERIMENTAL::factory_implementation {
|
|
|
|
struct LearningModelExperimental : LearningModelExperimentalT<LearningModelExperimental, implementation::LearningModelExperimental>
|
|
{
|
|
};
|
|
|
|
}
|