diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-09-29 16:16:15 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-11-09 10:04:06 +0000 |
commit | a95a7417ad456115a1ef2da4bb8320531c0821f1 (patch) | |
tree | edcd59279e486d2fd4a8f88a7ed025bcf925c6e6 /chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h | |
parent | 33fc33aa94d4add0878ec30dc818e34e1dd3cc2a (diff) | |
download | qtwebengine-chromium-a95a7417ad456115a1ef2da4bb8320531c0821f1.tar.gz |
BASELINE: Update Chromium to 106.0.5249.126
Change-Id: Ib0bb21c437a7d1686e21c33f2d329f2ac425b7ab
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/438936
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h')
-rw-r--r-- | chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h | 308 |
1 files changed, 154 insertions, 154 deletions
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h index c2b31115c42..7c1fbf1511f 100644 --- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h +++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h @@ -1,11 +1,11 @@ -// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 +// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1 #pragma once #ifndef WINRT_Windows_AI_MachineLearning_H #define WINRT_Windows_AI_MachineLearning_H #include "winrt/base.h" -static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); -#define CPPWINRT_VERSION "2.0.210930.14" +static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers."); +#define CPPWINRT_VERSION "2.0.220531.1" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Graphics.2.h" @@ -17,895 +17,895 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch #include "winrt/impl/Windows.AI.MachineLearning.2.h" namespace winrt::impl { - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::BitmapPixelFormat() const + template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::BitmapPixelFormat() const { winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_BitmapPixelFormat(reinterpret_cast<int32_t*>(&value))); return value; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::BitmapAlphaMode() const + template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::BitmapAlphaMode() const { winrt::Windows::Graphics::Imaging::BitmapAlphaMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_BitmapAlphaMode(reinterpret_cast<int32_t*>(&value))); return value; } - template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::Width() const + template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::Width() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_Width(&value)); return value; } - template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::Height() const + template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::Height() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_Height(&value)); return value; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_AI_MachineLearning_IImageFeatureValue<D>::VideoFrame() const + template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureValue<D>::VideoFrame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureValue)->get_VideoFrame(&value)); return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ImageFeatureValue) consume_Windows_AI_MachineLearning_IImageFeatureValueStatics<D>::CreateFromVideoFrame(winrt::Windows::Media::VideoFrame const& image) const + template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureValueStatics<D>::CreateFromVideoFrame(winrt::Windows::Media::VideoFrame const& image) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureValueStatics)->CreateFromVideoFrame(*(void**)(&image), &result)); return winrt::Windows::AI::MachineLearning::ImageFeatureValue{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel<D>::Author() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::Author() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Author(&value)); return hstring{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel<D>::Name() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel<D>::Domain() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::Domain() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Domain(&value)); return hstring{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel<D>::Description() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_AI_MachineLearning_ILearningModel<D>::Version() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::Version() const { int64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Version(&value)); return value; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) consume_Windows_AI_MachineLearning_ILearningModel<D>::Metadata() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::Metadata() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Metadata(&value)); return winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>) consume_Windows_AI_MachineLearning_ILearningModel<D>::InputFeatures() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::InputFeatures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_InputFeatures(&value)); return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>) consume_Windows_AI_MachineLearning_ILearningModel<D>::OutputFeatures() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::OutputFeatures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_OutputFeatures(&value)); return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelBinding)->Bind(*(void**)(&name), *(void**)(&value))); } - template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& props) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& props) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelBinding)->BindWithProperties(*(void**)(&name), *(void**)(&value), *(void**)(&props))); } - template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::Clear() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::Clear() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelBinding)->Clear()); } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelBinding) consume_Windows_AI_MachineLearning_ILearningModelBindingFactory<D>::CreateFromSession(winrt::Windows::AI::MachineLearning::LearningModelSession const& session) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelBindingFactory<D>::CreateFromSession(winrt::Windows::AI::MachineLearning::LearningModelSession const& session) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelBindingFactory)->CreateFromSession(*(void**)(&session), &value)); return winrt::Windows::AI::MachineLearning::LearningModelBinding{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) consume_Windows_AI_MachineLearning_ILearningModelDevice<D>::AdapterId() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelDevice<D>::AdapterId() const { winrt::Windows::Graphics::DisplayAdapterId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelDevice)->get_AdapterId(put_abi(value))); return value; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice) consume_Windows_AI_MachineLearning_ILearningModelDevice<D>::Direct3D11Device() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelDevice<D>::Direct3D11Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelDevice)->get_Direct3D11Device(&value)); return winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) consume_Windows_AI_MachineLearning_ILearningModelDeviceFactory<D>::Create(winrt::Windows::AI::MachineLearning::LearningModelDeviceKind const& deviceKind) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelDeviceFactory<D>::Create(winrt::Windows::AI::MachineLearning::LearningModelDeviceKind const& deviceKind) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelDeviceFactory)->Create(static_cast<int32_t>(deviceKind), &value)); return winrt::Windows::AI::MachineLearning::LearningModelDevice{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) consume_Windows_AI_MachineLearning_ILearningModelDeviceStatics<D>::CreateFromDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelDeviceStatics<D>::CreateFromDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelDeviceStatics)->CreateFromDirect3D11Device(*(void**)(&device), &result)); return winrt::Windows::AI::MachineLearning::LearningModelDevice{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::CorrelationId() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::CorrelationId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult)->get_CorrelationId(&value)); return hstring{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::ErrorStatus() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::ErrorStatus() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult)->get_ErrorStatus(&value)); return value; } - template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::Succeeded() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult)->get_Succeeded(&value)); return value; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::Outputs() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::Outputs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult)->get_Outputs(&value)); return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::Name() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::Description() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelFeatureKind) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::Kind() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::Kind() const { winrt::Windows::AI::MachineLearning::LearningModelFeatureKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor)->get_Kind(reinterpret_cast<int32_t*>(&value))); return value; } - template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::IsRequired() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::IsRequired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor)->get_IsRequired(&value)); return value; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelFeatureKind) consume_Windows_AI_MachineLearning_ILearningModelFeatureValue<D>::Kind() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelFeatureValue<D>::Kind() const { winrt::Windows::AI::MachineLearning::LearningModelFeatureKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureValue)->get_Kind(reinterpret_cast<int32_t*>(&value))); return value; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::Model() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::Model() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->get_Model(&value)); return winrt::Windows::AI::MachineLearning::LearningModel{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::Device() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::Device() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->get_Device(&value)); return winrt::Windows::AI::MachineLearning::LearningModelDevice{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluationProperties() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluationProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->get_EvaluationProperties(&value)); return winrt::Windows::Foundation::Collections::IPropertySet{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluateAsync(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluateAsync(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->EvaluateAsync(*(void**)(&bindings), *(void**)(&correlationId), &operation)); return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>{ operation, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluateFeaturesAsync(param::map<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluateFeaturesAsync(param::map<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->EvaluateFeaturesAsync(*(void**)(&features), *(void**)(&correlationId), &operation)); return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>{ operation, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::Evaluate(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::Evaluate(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->Evaluate(*(void**)(&bindings), *(void**)(&correlationId), &result)); return winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluateFeatures(param::map<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluateFeatures(param::map<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSession)->EvaluateFeatures(*(void**)(&features), *(void**)(&correlationId), &result)); return winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) consume_Windows_AI_MachineLearning_ILearningModelSessionFactory<D>::CreateFromModel(winrt::Windows::AI::MachineLearning::LearningModel const& model) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionFactory<D>::CreateFromModel(winrt::Windows::AI::MachineLearning::LearningModel const& model) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory)->CreateFromModel(*(void**)(&model), &value)); return winrt::Windows::AI::MachineLearning::LearningModelSession{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) consume_Windows_AI_MachineLearning_ILearningModelSessionFactory<D>::CreateFromModelOnDevice(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionFactory<D>::CreateFromModelOnDevice(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory)->CreateFromModelOnDevice(*(void**)(&model), *(void**)(&deviceToRunOn), &value)); return winrt::Windows::AI::MachineLearning::LearningModelSession{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) consume_Windows_AI_MachineLearning_ILearningModelSessionFactory2<D>::CreateFromModelOnDeviceWithSessionOptions(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn, winrt::Windows::AI::MachineLearning::LearningModelSessionOptions const& learningModelSessionOptions) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionFactory2<D>::CreateFromModelOnDeviceWithSessionOptions(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn, winrt::Windows::AI::MachineLearning::LearningModelSessionOptions const& learningModelSessionOptions) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory2)->CreateFromModelOnDeviceWithSessionOptions(*(void**)(&model), *(void**)(&deviceToRunOn), *(void**)(&learningModelSessionOptions), &value)); return winrt::Windows::AI::MachineLearning::LearningModelSession{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions<D>::BatchSizeOverride() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions<D>::BatchSizeOverride() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions)->get_BatchSizeOverride(&value)); return value; } - template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions<D>::BatchSizeOverride(uint32_t value) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions<D>::BatchSizeOverride(uint32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions)->put_BatchSizeOverride(value)); } - template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2<D>::CloseModelOnSessionCreation() const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2<D>::CloseModelOnSessionCreation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2)->get_CloseModelOnSessionCreation(&value)); return value; } - template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2<D>::CloseModelOnSessionCreation(bool value) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2<D>::CloseModelOnSessionCreation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2)->put_CloseModelOnSessionCreation(value)); } - template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3<D>::OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3<D>::OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3)->OverrideNamedDimension(*(void**)(&name), dimension)); } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStorageFileAsync(*(void**)(&modelFile), &operation)); return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>{ operation, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStreamAsync(*(void**)(&modelStream), &operation)); return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>{ operation, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromFilePath(param::hstring const& filePath) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromFilePath(param::hstring const& filePath) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromFilePath(*(void**)(&filePath), &result)); return winrt::Windows::AI::MachineLearning::LearningModel{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStream(*(void**)(&modelStream), &result)); return winrt::Windows::AI::MachineLearning::LearningModel{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStorageFileWithOperatorProviderAsync(*(void**)(&modelFile), *(void**)(&operatorProvider), &operation)); return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>{ operation, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStreamWithOperatorProviderAsync(*(void**)(&modelStream), *(void**)(&operatorProvider), &operation)); return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>{ operation, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromFilePath(param::hstring const& filePath, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromFilePath(param::hstring const& filePath, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromFilePathWithOperatorProvider(*(void**)(&filePath), *(void**)(&operatorProvider), &result)); return winrt::Windows::AI::MachineLearning::LearningModel{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const + template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelStatics)->LoadFromStreamWithOperatorProvider(*(void**)(&modelStream), *(void**)(&operatorProvider), &result)); return winrt::Windows::AI::MachineLearning::LearningModel{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) consume_Windows_AI_MachineLearning_IMapFeatureDescriptor<D>::KeyKind() const + template <typename D> auto consume_Windows_AI_MachineLearning_IMapFeatureDescriptor<D>::KeyKind() const { winrt::Windows::AI::MachineLearning::TensorKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IMapFeatureDescriptor)->get_KeyKind(reinterpret_cast<int32_t*>(&value))); return value; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor) consume_Windows_AI_MachineLearning_IMapFeatureDescriptor<D>::ValueDescriptor() const + template <typename D> auto consume_Windows_AI_MachineLearning_IMapFeatureDescriptor<D>::ValueDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IMapFeatureDescriptor)->get_ValueDescriptor(&value)); return winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor) consume_Windows_AI_MachineLearning_ISequenceFeatureDescriptor<D>::ElementDescriptor() const + template <typename D> auto consume_Windows_AI_MachineLearning_ISequenceFeatureDescriptor<D>::ElementDescriptor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ISequenceFeatureDescriptor)->get_ElementDescriptor(&value)); return winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) consume_Windows_AI_MachineLearning_ITensor<D>::TensorKind() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensor<D>::TensorKind() const { winrt::Windows::AI::MachineLearning::TensorKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensor)->get_TensorKind(reinterpret_cast<int32_t*>(&value))); return value; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int64_t>) consume_Windows_AI_MachineLearning_ITensor<D>::Shape() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensor<D>::Shape() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensor)->get_Shape(&value)); return winrt::Windows::Foundation::Collections::IVectorView<int64_t>{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<bool>) consume_Windows_AI_MachineLearning_ITensorBoolean<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBoolean<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBoolean)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<bool>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<bool const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<bool const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<bool> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<bool> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<bool const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<bool const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBooleanStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorBoolean{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<double>) consume_Windows_AI_MachineLearning_ITensorDouble<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDouble<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDouble)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<double>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<double const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<double const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<double> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<double> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<double const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<double const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDoubleStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorDouble{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor<D>::TensorKind() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor<D>::TensorKind() const { winrt::Windows::AI::MachineLearning::TensorKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFeatureDescriptor)->get_TensorKind(reinterpret_cast<int32_t*>(&value))); return value; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int64_t>) consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor<D>::Shape() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor<D>::Shape() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFeatureDescriptor)->get_Shape(&value)); return winrt::Windows::Foundation::Collections::IVectorView<int64_t>{ value, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<float>) consume_Windows_AI_MachineLearning_ITensorFloat<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<float>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<float>) consume_Windows_AI_MachineLearning_ITensorFloat16Bit<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16Bit<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<float>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloatStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorFloat{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int16_t>) consume_Windows_AI_MachineLearning_ITensorInt16Bit<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16Bit<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<int16_t>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int16_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int16_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int16_t> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int16_t> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int16_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int16_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int32_t>) consume_Windows_AI_MachineLearning_ITensorInt32Bit<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32Bit<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<int32_t>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int32_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int32_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int32_t> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int32_t> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int32_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int32_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int64_t>) consume_Windows_AI_MachineLearning_ITensorInt64Bit<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64Bit<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<int64_t>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int64_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int64_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int64_t> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int64_t> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int64_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int64_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint8_t>) consume_Windows_AI_MachineLearning_ITensorInt8Bit<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8Bit<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<uint8_t>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorInt8Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_AI_MachineLearning_ITensorString<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorString<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorString)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorStringStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorString{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorStringStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorString{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<hstring const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<hstring const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorStringStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorString{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<hstring> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<hstring> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorStringStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorString{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<hstring const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorStringStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<hstring const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorStringStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorString{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint16_t>) consume_Windows_AI_MachineLearning_ITensorUInt16Bit<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16Bit<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<uint16_t>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint16_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint16_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint16_t> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint16_t> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint16_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint16_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt16Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_AI_MachineLearning_ITensorUInt32Bit<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32Bit<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint32_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint32_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint32_t> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint32_t> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint32_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint32_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt32Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint64_t>) consume_Windows_AI_MachineLearning_ITensorUInt64Bit<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64Bit<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<uint64_t>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint64_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint64_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint64_t> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint64_t> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint64_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint64_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt64Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint8_t>) consume_Windows_AI_MachineLearning_ITensorUInt8Bit<D>::GetAsVectorView() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8Bit<D>::GetAsVectorView() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8Bit)->GetAsVectorView(&result)); return winrt::Windows::Foundation::Collections::IVectorView<uint8_t>{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::Create() const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::Create() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics)->Create(&result)); return winrt::Windows::AI::MachineLearning::TensorUInt8Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::Create(param::iterable<int64_t> const& shape) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::Create(param::iterable<int64_t> const& shape) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics)->Create2(*(void**)(&shape), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt8Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics)->CreateFromArray(*(void**)(&shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt8Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics)->CreateFromIterable(*(void**)(&shape), *(void**)(&data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt8Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics2)->CreateFromShapeArrayAndDataArray(shape.size(), get_abi(shape), data.size(), get_abi(data), &result)); return winrt::Windows::AI::MachineLearning::TensorUInt8Bit{ result, take_ownership_from_abi }; } - template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const + template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics2)->CreateFromBuffer(shape.size(), get_abi(shape), *(void**)(&buffer), &result)); |