mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
On Windows, clang-format has a bug when AlignTrailingComments.Kind is set to `Leave` (https://clang.llvm.org/docs/ClangFormatStyleOptions.html#aligntrailingcomments), where it will keep adding indentation to comments after each formatting runs. This PR changes to always align comments so we do not hit the bug. As a consequence of the options change we need to reformat some of the files. Note that this option is aligned with the rest of the repository.
32 lines
792 B
C++
32 lines
792 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
|