onnxruntime/winml/test/common/fileHelpers.h
Justin Chu eeef157888
Format c++ code under winml/ (#16660)
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>
2023-07-25 21:56:50 -07:00

17 lines
470 B
C++

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "std.h"
#include "winrt_headers.h"
#include "winrt/Windows.Graphics.Imaging.h"
namespace FileHelpers {
std::wstring GetModulePath();
std::wstring GetWinMLPath();
wgi::SoftwareBitmap GetSoftwareBitmapFromFile(const std::wstring& filePath);
winml::ImageFeatureValue LoadImageFeatureValue(const std::wstring& imagePath);
}// namespace FileHelpers