onnxruntime/winml/adapter/FeatureDescriptorFactory.h
Paul McDaniel c615002f5d
Layer dev paulm (#2533)
* commetns for dml graph transformer
fixed ort value passing using the allocatir info

* fixed and coded maps and sequences across the abi

* cleaned up w4's
cleaned up the model info ABI
delayload directml.dll from winml

* cleaned up namepsace aliases.
renamed _winmla to winmla
this was good PR feedback from tiago a while back.

* moved files from inc to lib\api.core
cleaned up some of the cmake

* staged changes
2019-12-03 15:31:22 -08:00

21 lines
No EOL
580 B
C++

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "pch.h"
namespace Windows::AI::MachineLearning {
struct FeatureDescriptorFactory {
FeatureDescriptorFactory(
const std::unordered_map<std::string, std::string>& model_metadata);
wfc::IVector<winml::ILearningModelFeatureDescriptor>
CreateDescriptorsFromValueInfoProtos(
const std::vector<const onnx::ValueInfoProto*>& value_info_protos);
private:
const std::unordered_map<std::string, std::string>& metadata_;
};
} // namespace Windows::AI::MachineLearning