mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-29 23:06:41 +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>
32 lines
790 B
C++
32 lines
790 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#pragma once
|
|
|
|
#include "std.h"
|
|
#include "winrt_headers.h"
|
|
|
|
enum OutputBindingStrategy {
|
|
Bound,
|
|
Unbound,
|
|
Empty
|
|
};
|
|
|
|
namespace WinML::Engine::Test::ModelValidator {
|
|
void FnsCandy16(
|
|
const std::string& instance,
|
|
winml::LearningModelDeviceKind deviceKind,
|
|
OutputBindingStrategy outputBindingStrategy,
|
|
bool bindInputsAsIInspectable,
|
|
float dataTolerance = false
|
|
);
|
|
|
|
void SqueezeNet(
|
|
const std::string& instance,
|
|
winml::LearningModelDeviceKind deviceKind,
|
|
float dataTolerance,
|
|
bool bindAsImage = false,
|
|
OutputBindingStrategy outputBindingStrategy = OutputBindingStrategy::Bound,
|
|
bool bindInputsAsIInspectable = false
|
|
);
|
|
}// namespace WinML::Engine::Test::ModelValidator
|