Skip to content

Commit 416dc2e

Browse files
authored
Fix clang-format comment indents on Windows for winml/ (#17144)
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.
1 parent 24e0bd3 commit 416dc2e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+304
-304
lines changed

winml/.clang-format

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ AlignConsecutiveMacros:
3131
AlignEscapedNewlines: Left
3232
AlignOperands: DontAlign
3333
AlignTrailingComments:
34-
Kind: Leave
34+
Kind: Always
3535
OverEmptyLines: 0
3636
AllowAllArgumentsOnNextLine: true
3737
AllowAllParametersOfDeclarationOnNextLine: true

winml/adapter/winml_adapter_c_api.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ const OrtApi* GetVersion1Api();
1414
namespace winmla = Windows::AI::MachineLearning::Adapter;
1515

1616
static constexpr WinmlAdapterApi winml_adapter_api_1 = {
17-
// Schema override
17+
// Schema override
1818
&winmla::OverrideSchema,
1919

20-
// OrtEnv methods
20+
// OrtEnv methods
2121
&winmla::EnvConfigureCustomLoggerAndProfiler,
2222

23-
// OrtModel methods
23+
// OrtModel methods
2424
&winmla::CreateModelFromPath,
2525
&winmla::CreateModelFromData,
2626
&winmla::CloneModel,
@@ -43,11 +43,11 @@ static constexpr WinmlAdapterApi winml_adapter_api_1 = {
4343
&winmla::ModelEnsureNoFloat16,
4444
&winmla::SaveModel,
4545

46-
// OrtSessionOptions methods
46+
// OrtSessionOptions methods
4747
&OrtSessionOptionsAppendExecutionProvider_CPU,
4848
&winmla::OrtSessionOptionsAppendExecutionProviderEx_DML,
4949

50-
// OrtSession methods
50+
// OrtSession methods
5151
&winmla::CreateSessionWithoutModel,
5252
&winmla::SessionGetExecutionProvider,
5353
&winmla::SessionInitialize,
@@ -61,7 +61,7 @@ static constexpr WinmlAdapterApi winml_adapter_api_1 = {
6161
&winmla::SessionGetIntraOpThreadSpinning,
6262
&winmla::SessionGetNamedDimensionsOverrides,
6363

64-
// Dml methods (TODO need to figure out how these need to move to session somehow...)
64+
// Dml methods (TODO need to figure out how these need to move to session somehow...)
6565
&winmla::DmlExecutionProviderFlushContext,
6666
&winmla::DmlExecutionProviderReleaseCompletedReferences,
6767
&winmla::DmlCopyTensor,
@@ -93,7 +93,7 @@ static constexpr WinmlAdapterApi winml_adapter_api_1 = {
9393
&winmla::JoinModels,
9494
&winmla::CreateThreadPool,
9595

96-
// Release
96+
// Release
9797
&winmla::ReleaseModel,
9898
&winmla::ReleaseThreadPool,
9999
};

winml/adapter/winml_adapter_c_api.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ struct WinmlAdapterApi {
383383

384384
// Dml methods (TODO need to figure out how these need to move to session somehow...)
385385

386-
/**
386+
/**
387387
* SessionGetNumberOfIntraOpThreads
388388
* This api returns the number of intra operator threads set on the OrtSession.
389389
*
@@ -392,7 +392,7 @@ struct WinmlAdapterApi {
392392
OrtStatus*(ORT_API_CALL* SessionGetNumberOfIntraOpThreads)(_In_ OrtSession* session, _Out_ uint32_t* num_threads)
393393
NO_EXCEPTION;
394394

395-
/**
395+
/**
396396
* SessionGetIntrapOpThreadSpinning
397397
* This api returns false if the ort session options config entry "session.intra_op.allow_spinning" is set to "0", and true otherwise
398398
*
@@ -401,7 +401,7 @@ struct WinmlAdapterApi {
401401
OrtStatus*(ORT_API_CALL* SessionGetIntraOpThreadSpinning)(_In_ OrtSession* session, _Out_ bool* allow_spinning)
402402
NO_EXCEPTION;
403403

404-
/**
404+
/**
405405
* SessionGetNamedDimensionsOverrides
406406
* This api returns the named dimension overrides that are specified for this session
407407
*

winml/adapter/winml_adapter_dml.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2-
// Licensed under the MIT License.
2+
// Licensed under the MIT License.
33

44
#pragma once
55
#include "adapter/pch.h"
@@ -69,7 +69,7 @@ Microsoft::WRL::ComPtr<IDMLDevice> CreateDmlDevice(ID3D12Device* d3d12Device) {
6969

7070
namespace onnxruntime {
7171
void DmlConfigureProviderFactoryMetacommandsEnabled(IExecutionProviderFactory* factory, bool metacommandsEnabled);
72-
}// namespace onnxruntime
72+
} // namespace onnxruntime
7373

7474
#endif // USE_DML
7575

winml/api/dualapipartitionattribute.h

+13-13
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* File built with Microsoft(R) MIDLRT Compiler Engine Version 10.00.0228
44
*/
55

6-
#pragma warning(disable : 4049) /* more than 64k source lines */
6+
#pragma warning(disable : 4049) /* more than 64k source lines */
77

88
/* verify that the <rpcndr.h> version is high enough to compile this file*/
99
#ifndef __REQUIRED_RPCNDR_H_VERSION__
@@ -41,33 +41,33 @@
4141
#if !defined(SPECIFIC_API_CONTRACT_DEFINITIONS)
4242
#if !defined(WINDOWS_APPLICATIONMODEL_CALLS_CALLSPHONECONTRACT_VERSION)
4343
#define WINDOWS_APPLICATIONMODEL_CALLS_CALLSPHONECONTRACT_VERSION 0x50000
44-
#endif // defined(WINDOWS_APPLICATIONMODEL_CALLS_CALLSPHONECONTRACT_VERSION)
44+
#endif // defined(WINDOWS_APPLICATIONMODEL_CALLS_CALLSPHONECONTRACT_VERSION)
4545

4646
#if !defined(WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION)
4747
#define WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION 0x40000
48-
#endif // defined(WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION)
48+
#endif // defined(WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION)
4949

5050
#if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
5151
#define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xa0000
52-
#endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
52+
#endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION)
5353

5454
#if !defined(WINDOWS_NETWORKING_SOCKETS_CONTROLCHANNELTRIGGERCONTRACT_VERSION)
5555
#define WINDOWS_NETWORKING_SOCKETS_CONTROLCHANNELTRIGGERCONTRACT_VERSION 0x30000
56-
#endif // defined(WINDOWS_NETWORKING_SOCKETS_CONTROLCHANNELTRIGGERCONTRACT_VERSION)
56+
#endif // defined(WINDOWS_NETWORKING_SOCKETS_CONTROLCHANNELTRIGGERCONTRACT_VERSION)
5757

5858
#if !defined(WINDOWS_PHONE_PHONECONTRACT_VERSION)
5959
#define WINDOWS_PHONE_PHONECONTRACT_VERSION 0x10000
60-
#endif // defined(WINDOWS_PHONE_PHONECONTRACT_VERSION)
60+
#endif // defined(WINDOWS_PHONE_PHONECONTRACT_VERSION)
6161

6262
#if !defined(WINDOWS_PHONE_PHONEINTERNALCONTRACT_VERSION)
6363
#define WINDOWS_PHONE_PHONEINTERNALCONTRACT_VERSION 0x10000
64-
#endif // defined(WINDOWS_PHONE_PHONEINTERNALCONTRACT_VERSION)
64+
#endif // defined(WINDOWS_PHONE_PHONEINTERNALCONTRACT_VERSION)
6565

6666
#if !defined(WINDOWS_UI_WEBUI_CORE_WEBUICOMMANDBARCONTRACT_VERSION)
6767
#define WINDOWS_UI_WEBUI_CORE_WEBUICOMMANDBARCONTRACT_VERSION 0x10000
68-
#endif // defined(WINDOWS_UI_WEBUI_CORE_WEBUICOMMANDBARCONTRACT_VERSION)
68+
#endif // defined(WINDOWS_UI_WEBUI_CORE_WEBUICOMMANDBARCONTRACT_VERSION)
6969

70-
#endif // defined(SPECIFIC_API_CONTRACT_DEFINITIONS)
70+
#endif // defined(SPECIFIC_API_CONTRACT_DEFINITIONS)
7171

7272
// Header files for imported files
7373
#include "Windows.Foundation.h"
@@ -81,7 +81,7 @@
8181
#pragma once
8282
#pragma warning(pop)
8383

84-
#else // !defined(__cplusplus)
84+
#else // !defined(__cplusplus)
8585
/* Forward Declarations */
8686

8787
#pragma warning(push)
@@ -90,8 +90,8 @@
9090
#pragma once
9191
#pragma warning(pop)
9292

93-
#endif // defined(__cplusplus)
93+
#endif // defined(__cplusplus)
9494
#pragma pop_macro("MIDL_CONST_ID")
95-
#endif // __dualapipartitionattribute_p_h__
95+
#endif // __dualapipartitionattribute_p_h__
9696

97-
#endif // __dualapipartitionattribute_h__
97+
#endif // __dualapipartitionattribute_h__

winml/lib/Api.Experimental/LearningModelExperimental.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ void LearningModelExperimental::SetName(hstring const& model_name) {
3939
modelp->SetName(model_name);
4040
}
4141

42-
}// namespace WINML_EXPERIMENTALP
42+
} // namespace WINML_EXPERIMENTALP

winml/lib/Api.Experimental/LearningModelExperimental.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ struct LearningModelExperimental : LearningModelExperimentalT<LearningModelExper
2020
Microsoft::AI::MachineLearning::LearningModel model_;
2121
};
2222

23-
}// namespace WINML_EXPERIMENTALP
23+
} // namespace WINML_EXPERIMENTALP
2424

2525
namespace WINML_EXPERIMENTAL::factory_implementation {
2626

2727
struct LearningModelExperimental
2828
: LearningModelExperimentalT<LearningModelExperimental, implementation::LearningModelExperimental> {};
2929

30-
}// namespace WINML_EXPERIMENTAL::factory_implementation
30+
} // namespace WINML_EXPERIMENTAL::factory_implementation

winml/lib/Api.Experimental/LearningModelJoinOptions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ const std::unordered_map<std::string, std::string>& LearningModelJoinOptions::Ge
4040
return linkages_;
4141
}
4242

43-
}// namespace WINML_EXPERIMENTALP
43+
} // namespace WINML_EXPERIMENTALP

winml/lib/Api.Experimental/LearningModelJoinOptions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ namespace WINML_EXPERIMENTAL::factory_implementation {
3333
struct LearningModelJoinOptions
3434
: LearningModelJoinOptionsT<LearningModelJoinOptions, implementation::LearningModelJoinOptions> {};
3535

36-
}// namespace WINML_EXPERIMENTAL::factory_implementation
36+
} // namespace WINML_EXPERIMENTAL::factory_implementation

winml/lib/Api.Experimental/LearningModelOperator.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ struct LearningModelOperator : LearningModelOperatorT<LearningModelOperator> {
4040
wfc::IMap<winrt::hstring, winrt::hstring> output_mapping_;
4141
};
4242

43-
} // namespace WINML_EXPERIMENTALP
43+
} // namespace WINML_EXPERIMENTALP
4444

4545
namespace WINML_EXPERIMENTAL::factory_implementation {
4646

4747
struct LearningModelOperator : LearningModelOperatorT<LearningModelOperator, implementation::LearningModelOperator> {};
4848

49-
}// namespace WINML_EXPERIMENTAL::factory_implementation
49+
} // namespace WINML_EXPERIMENTAL::factory_implementation

winml/lib/Api.Experimental/LearningModelOperatorSet.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ winml_experimental::LearningModelBuilder LearningModelOperatorSet::Add(
9898
return builder_;
9999
}
100100

101-
}// namespace WINML_EXPERIMENTALP
101+
} // namespace WINML_EXPERIMENTALP

winml/lib/Api.Experimental/LearningModelOperatorSet.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ struct LearningModelOperatorSet : LearningModelOperatorSetT<LearningModelOperato
1313
winml_experimental::LearningModelBuilder builder_;
1414
wfc::IVector<winml_experimental::LearningModelOperator> operators_;
1515
};
16-
}// namespace WINML_EXPERIMENTALP
16+
} // namespace WINML_EXPERIMENTALP

winml/lib/Api.Experimental/LearningModelOutputs.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ winml_experimental::LearningModelBuilder LearningModelOutputs::Add(winml::ILearn
2121
return builder_;
2222
}
2323

24-
} // namespace WINML_EXPERIMENTALP
24+
} // namespace WINML_EXPERIMENTALP

winml/lib/Api.Experimental/LearningModelSessionOptionsExperimental.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ struct LearningModelSessionOptionsExperimental : LearningModelSessionOptionsExpe
2525
LearningModelSessionOptionsExperimental,
2626
implementation::LearningModelSessionOptionsExperimental> {};
2727

28-
}// namespace WINML_EXPERIMENTAL::factory_implementation
28+
} // namespace WINML_EXPERIMENTAL::factory_implementation

winml/lib/Api.Image/DeviceHelpers.cpp

+8-8
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ HRESULT _winml::GetDXCoreHardwareAdapterWithPreference(
127127
HRESULT _winml::CreateD3D11On12Device(ID3D12Device* device12, ID3D11Device** device11) {
128128
return CommonDeviceHelpers::RunDelayLoadedApi(
129129
D3D11On12CreateDevice,
130-
device12, // pointer to d3d12 device
130+
device12, // pointer to d3d12 device
131131
D3D11_CREATE_DEVICE_BGRA_SUPPORT, // required in order to interop with Direct2D
132-
nullptr, // feature level (defaults to d3d12)
133-
0, // size of feature levels in bytes
134-
nullptr, // an array of unique command queues for D3D11On12 to use
135-
0, // size of the command queue array
136-
0, // D3D12 device node to use
137-
device11, // d3d11 device out param
138-
nullptr, // pointer to d3d11 device context (unused)
132+
nullptr, // feature level (defaults to d3d12)
133+
0, // size of feature levels in bytes
134+
nullptr, // an array of unique command queues for D3D11On12 to use
135+
0, // size of the command queue array
136+
0, // D3D12 device node to use
137+
device11, // d3d11 device out param
138+
nullptr, // pointer to d3d11 device context (unused)
139139
nullptr
140140
); // pointer to the returned feature level (unused)
141141
}

winml/lib/Api.Image/DisjointBufferHelpers.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ void StoreSpanIntoDisjointBuffers(
4444
LoadOrStoreDisjointBuffers(false /*store into buffers*/, num_buffers, get_buffer, buffer_span);
4545
}
4646

47-
} // namespace _winml
47+
} // namespace _winml

winml/lib/Api.Image/NominalRangeConverter.cpp

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
namespace _winml {
55
NominalRangeConverter::NominalRangeConverter(winml::LearningModelPixelRange pixelRange) {
6-
// For Normalization: the formula is input_range[min, max] / scale - shift
7-
// For DeNormalization: the formula is (input_range[min, max] + shift) * scale
6+
// For Normalization: the formula is input_range[min, max] / scale - shift
7+
// For DeNormalization: the formula is (input_range[min, max] + shift) * scale
88
if (pixelRange == winml::LearningModelPixelRange::ZeroTo255) {
99
scale = 1.f;
1010
shift = 0;
@@ -17,9 +17,9 @@ NominalRangeConverter::NominalRangeConverter(winml::LearningModelPixelRange pixe
1717
}
1818
};
1919

20-
// [0, 255] --> [0, 255]
21-
// [0, 255] / 255 --> [0, 1]
22-
// [0, 255] * 2 / 255 - 1 --> [-1, 1]
20+
// [0, 255] --> [0, 255]
21+
// [0, 255] / 255 --> [0, 1]
22+
// [0, 255] * 2 / 255 - 1 --> [-1, 1]
2323
float NominalRangeConverter::Normalize(float val) const {
2424
return val / scale - shift;
2525
}
@@ -38,9 +38,9 @@ __m128 NominalRangeConverter::Normalize(__m128 sse_data) const {
3838
}
3939
#endif
4040

41-
// [0, 255] --> [0, 255]
42-
// ([0, 1] + 0 ) * 255 -> [0, 1]
43-
// ([-1, 1] + 1) * 255 / 2 --> [-1, 1]
41+
// [0, 255] --> [0, 255]
42+
// ([0, 1] + 0 ) * 255 -> [0, 1]
43+
// ([-1, 1] + 1) * 255 / 2 --> [-1, 1]
4444
float NominalRangeConverter::Denormalize(float val) const {
4545
return scale * (val + shift);
4646
}
@@ -58,4 +58,4 @@ __m128 NominalRangeConverter::Denormalize(__m128 sse_data) const {
5858
return _mm_mul_ps(sse_added, sse_scale);
5959
}
6060
#endif
61-
} // namespace _winml
61+
} // namespace _winml

winml/lib/Api.Image/inc/DisjointBufferHelpers.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ void StoreSpanIntoDisjointBuffers(
1515
size_t num_buffers, std::function<gsl::span<byte>(size_t)> get_buffer, gsl::span<byte>& buffer_span
1616
);
1717

18-
} // namespace _winml
18+
} // namespace _winml

winml/lib/Api.Image/inc/NominalRangeConverter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ class NominalRangeConverter {
3232
float scale;
3333
int32_t shift;
3434
};
35-
} // namespace _winml
35+
} // namespace _winml

winml/lib/Api/FeatureValues.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ CREATE_TENSOR(TensorInt64Bit, int64_t, int64_t)
8080
CREATE_TENSOR(TensorFloat16Bit, _winml::Half, float)
8181

8282
#pragma warning(push)
83-
#pragma warning(disable : 4702) // Unreachable code (one of TensorBase's constructor unconditionally throws for \
83+
#pragma warning(disable : 4702) // Unreachable code (one of TensorBase's constructor unconditionally throws for \
8484
// std::string because it's not supported with D3D12 resources)
8585
CREATE_TENSOR(TensorString, std::string, winrt::hstring)
8686
#pragma warning(pop)
@@ -420,8 +420,8 @@ inline winml::ILearningModelFeatureValue CreateFeatureValueFromInspectable(
420420
BindingType, const wf::IInspectable& inspectable, const winml::ITensorFeatureDescriptor& descriptor
421421
);
422422
constexpr std::array<TensorCreator, 13> creators = {
423-
// Vector and VectorViews of float16 and int8 collide with float and uint8 respectively.
424-
// They are omitted because of this ambiguity and are not constructible via raw winrt collections.
423+
// Vector and VectorViews of float16 and int8 collide with float and uint8 respectively.
424+
// They are omitted because of this ambiguity and are not constructible via raw winrt collections.
425425
CreateTensorValueFromInspectable<winmlp::TensorBoolean, bool>,
426426
CreateTensorValueFromInspectable<winmlp::TensorFloat, float>,
427427
CreateTensorValueFromInspectable<winmlp::TensorDouble, double>,

winml/lib/Api/ImageFeatureDescriptor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ ImageColorSpaceGamma ImageFeatureDescriptor::GetColorSpaceGamma() {
9090

9191
HRESULT
9292
ImageFeatureDescriptor::GetDescriptorInfo(_winml::IEngineFactory* engine_factory, _winml::IDescriptorInfo** info) {
93-
// TODO: Need to add denotations here
93+
// TODO: Need to add denotations here
9494
engine_factory->CreateTensorDescriptorInfo(tensor_kind_, shape_.data(), shape_.size(), info);
9595
return S_OK;
9696
}

winml/lib/Api/ImageFeatureValue.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ std::optional<ImageFeatureValue::ImageResourceMetadata> ImageFeatureValue::GetIn
424424
THROW_HR(WINML_ERR_INVALID_BINDING);
425425
}
426426

427-
//NCHW layout
427+
//NCHW layout
428428
auto imageTensorDescriptor = CreateImageTensorDescriptor(
429429
tensorKind, pixelFormat.value(), pixelRange.value(), m_batchSize, descriptorWidth, descriptorHeight
430430
);

winml/lib/Api/LearningModel.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ LearningModel::LearningModel(const hstring& path, const winml::ILearningModelOpe
8484
0, // size of mapping object, high
8585
0, // size of mapping object, low
8686
NULL
87-
)); // name of mapping object
87+
)); // name of mapping object
8888

8989
WINML_THROW_HR_IF_TRUE_MSG(__HRESULT_FROM_WIN32(GetLastError()), file_mapping == nullptr, "Model load failed!");
9090

9191
auto buffer = MapViewOfFile(
92-
file_mapping.get(), // handle to mapping object
93-
FILE_MAP_READ, // read/write
94-
0, // high-order 32 bits of file offset
95-
0, // low-order 32 bits of file offset
92+
file_mapping.get(), // handle to mapping object
93+
FILE_MAP_READ, // read/write
94+
0, // high-order 32 bits of file offset
95+
0, // low-order 32 bits of file offset
9696
0
97-
); // number of bytes to map. 0 means read whole file.
97+
); // number of bytes to map. 0 means read whole file.
9898

9999
WINML_THROW_HR_IF_TRUE_MSG(__HRESULT_FROM_WIN32(GetLastError()), buffer == nullptr, "Model load failed!");
100100
LARGE_INTEGER file_size;

winml/lib/Api/MapFeatureDescriptor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct MapFeatureDescriptor : MapFeatureDescriptorT<
2121
winml::ILearningModelFeatureDescriptor valueKind
2222
);
2323

24-
// IMapDescriptor
24+
// IMapDescriptor
2525
winml::TensorKind KeyKind();
2626

2727
winml::ILearningModelFeatureDescriptor ValueDescriptor();

0 commit comments

Comments
 (0)