2020-08-12 19:45:19 +00:00
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
|
// Licensed under the MIT License.
|
|
|
|
|
|
|
|
|
|
import "Windows.Foundation.idl";
|
|
|
|
|
import "dualapipartitionattribute.idl";
|
|
|
|
|
import "Windows.AI.MachineLearning.idl";
|
|
|
|
|
|
|
|
|
|
#include <sdkddkver.h>
|
|
|
|
|
|
|
|
|
|
#ifdef BUILD_INBOX
|
|
|
|
|
#define ROOT_NS Windows
|
|
|
|
|
#define INBOX_ONLY(x) x
|
|
|
|
|
#define OTB_ONLY(x)
|
|
|
|
|
#else
|
|
|
|
|
#define INBOX_ONLY(x)
|
|
|
|
|
#define OTB_ONLY(x) x
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef ROOT_NS
|
|
|
|
|
#define ROOT_NS Microsoft
|
|
|
|
|
#endif
|
|
|
|
|
|
2021-01-22 23:15:53 +00:00
|
|
|
|
2020-08-12 19:45:19 +00:00
|
|
|
namespace ROOT_NS.AI.MachineLearning.Experimental {
|
|
|
|
|
|
|
|
|
|
[threading(both)]
|
|
|
|
|
[marshaling_behavior(agile)]
|
|
|
|
|
[dualapipartition(1)]
|
|
|
|
|
runtimeclass Dummy {
|
|
|
|
|
Dummy();
|
|
|
|
|
|
|
|
|
|
void Test();
|
|
|
|
|
}
|
2021-01-22 23:15:53 +00:00
|
|
|
|
|
|
|
|
[marshaling_behavior(agile)]
|
|
|
|
|
[dualapipartition(1)]
|
|
|
|
|
runtimeclass LearningModelSessionOptionsExperimental {
|
|
|
|
|
Windows.Foundation.Collections.IMapView<String, UINT32> GetNamedDimensionOverrides();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[threading(both)]
|
|
|
|
|
[marshaling_behavior(agile)]
|
|
|
|
|
[dualapipartition(1)]
|
|
|
|
|
runtimeclass LearningModelSessionExperimental {
|
|
|
|
|
LearningModelSessionExperimental(ROOT_NS.AI.MachineLearning.LearningModelSession session);
|
|
|
|
|
LearningModelSessionOptionsExperimental Options { get; };
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-12 19:45:19 +00:00
|
|
|
} // namespace Microsoft.AI.MachineLearning.Experimental
|