2020-05-02 07:33:17 +00:00
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
|
// Licensed under the MIT License.
|
|
|
|
|
|
|
|
|
|
#include "microsoft.ai.machinelearning.h"
|
|
|
|
|
#include "microsoft.ai.machinelearning.native.h"
|
|
|
|
|
|
|
|
|
|
#include "raw/microsoft.ai.machinelearning.h"
|
|
|
|
|
#include "raw/microsoft.ai.machinelearning.gpu.h"
|
|
|
|
|
|
2020-11-16 18:06:22 +00:00
|
|
|
enum class InputStrategy {
|
2023-07-26 04:56:50 +00:00
|
|
|
CopyInputs,
|
|
|
|
|
BindAsReference,
|
|
|
|
|
BindWithMultipleReferences
|
2020-11-16 18:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
2023-07-26 04:56:50 +00:00
|
|
|
void RunOnDevice(
|
|
|
|
|
Microsoft::AI::MachineLearning::learning_model& model,
|
|
|
|
|
Microsoft::AI::MachineLearning::learning_model_device& device,
|
|
|
|
|
InputStrategy strategy
|
|
|
|
|
);
|