Latest update for winrt

PiperOrigin-RevId: 452591835
This commit is contained in:
jfcarroll
2022-06-02 12:05:19 -07:00
committed by Copybara-Service
parent 11558b453c
commit 28da839987
1366 changed files with 69568 additions and 70576 deletions
@@ -1,19 +1,13 @@
// 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_0_H
#define WINRT_Windows_AI_MachineLearning_0_H
WINRT_EXPORT namespace winrt::Windows::Foundation
{
template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IMapView;
template <typename K, typename V> struct __declspec(empty_bases) IMap;
struct IPropertySet;
template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Graphics
{
@@ -966,10 +960,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_IImageFeatureDescriptor
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) BitmapPixelFormat() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) BitmapAlphaMode() const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Width() const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Height() const;
[[nodiscard]] auto BitmapPixelFormat() const;
[[nodiscard]] auto BitmapAlphaMode() const;
[[nodiscard]] auto Width() const;
[[nodiscard]] auto Height() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor>
{
@@ -978,7 +972,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_IImageFeatureValue
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) VideoFrame() const;
[[nodiscard]] auto VideoFrame() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::IImageFeatureValue>
{
@@ -987,7 +981,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_IImageFeatureValueStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ImageFeatureValue) CreateFromVideoFrame(winrt::Windows::Media::VideoFrame const& image) const;
auto CreateFromVideoFrame(winrt::Windows::Media::VideoFrame const& image) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::IImageFeatureValueStatics>
{
@@ -996,14 +990,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModel
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Author() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Domain() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const;
[[nodiscard]] WINRT_IMPL_AUTO(int64_t) Version() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) Metadata() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>) InputFeatures() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>) OutputFeatures() const;
[[nodiscard]] auto Author() const;
[[nodiscard]] auto Name() const;
[[nodiscard]] auto Domain() const;
[[nodiscard]] auto Description() const;
[[nodiscard]] auto Version() const;
[[nodiscard]] auto Metadata() const;
[[nodiscard]] auto InputFeatures() const;
[[nodiscard]] auto OutputFeatures() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModel>
{
@@ -1012,9 +1006,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelBinding
{
WINRT_IMPL_AUTO(void) Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const;
WINRT_IMPL_AUTO(void) Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& props) const;
WINRT_IMPL_AUTO(void) Clear() const;
auto Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const;
auto Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& props) const;
auto Clear() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelBinding>
{
@@ -1023,7 +1017,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelBindingFactory
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelBinding) CreateFromSession(winrt::Windows::AI::MachineLearning::LearningModelSession const& session) const;
auto CreateFromSession(winrt::Windows::AI::MachineLearning::LearningModelSession const& session) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelBindingFactory>
{
@@ -1032,8 +1026,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelDevice
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) AdapterId() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice) Direct3D11Device() const;
[[nodiscard]] auto AdapterId() const;
[[nodiscard]] auto Direct3D11Device() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelDevice>
{
@@ -1042,7 +1036,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelDeviceFactory
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) Create(winrt::Windows::AI::MachineLearning::LearningModelDeviceKind const& deviceKind) const;
auto Create(winrt::Windows::AI::MachineLearning::LearningModelDeviceKind const& deviceKind) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelDeviceFactory>
{
@@ -1051,7 +1045,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelDeviceStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) CreateFromDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const;
auto CreateFromDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelDeviceStatics>
{
@@ -1060,10 +1054,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) CorrelationId() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) ErrorStatus() const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Outputs() const;
[[nodiscard]] auto CorrelationId() const;
[[nodiscard]] auto ErrorStatus() const;
[[nodiscard]] auto Succeeded() const;
[[nodiscard]] auto Outputs() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult>
{
@@ -1072,10 +1066,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelFeatureKind) Kind() const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsRequired() const;
[[nodiscard]] auto Name() const;
[[nodiscard]] auto Description() const;
[[nodiscard]] auto Kind() const;
[[nodiscard]] auto IsRequired() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>
{
@@ -1084,7 +1078,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelFeatureValue
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelFeatureKind) Kind() const;
[[nodiscard]] auto Kind() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelFeatureValue>
{
@@ -1101,13 +1095,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelSession
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) Model() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) Device() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) EvaluationProperties() const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>) EvaluateAsync(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>) EvaluateFeaturesAsync(param::map<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult) Evaluate(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult) EvaluateFeatures(param::map<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const;
[[nodiscard]] auto Model() const;
[[nodiscard]] auto Device() const;
[[nodiscard]] auto EvaluationProperties() const;
auto EvaluateAsync(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const;
auto EvaluateFeaturesAsync(param::map<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const;
auto Evaluate(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const;
auto EvaluateFeatures(param::map<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelSession>
{
@@ -1116,8 +1110,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelSessionFactory
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) CreateFromModel(winrt::Windows::AI::MachineLearning::LearningModel const& model) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) CreateFromModelOnDevice(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn) const;
auto CreateFromModel(winrt::Windows::AI::MachineLearning::LearningModel const& model) const;
auto CreateFromModelOnDevice(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory>
{
@@ -1126,7 +1120,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelSessionFactory2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) CreateFromModelOnDeviceWithSessionOptions(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn, winrt::Windows::AI::MachineLearning::LearningModelSessionOptions const& learningModelSessionOptions) const;
auto CreateFromModelOnDeviceWithSessionOptions(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn, winrt::Windows::AI::MachineLearning::LearningModelSessionOptions const& learningModelSessionOptions) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory2>
{
@@ -1135,8 +1129,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelSessionOptions
{
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) BatchSizeOverride() const;
WINRT_IMPL_AUTO(void) BatchSizeOverride(uint32_t value) const;
[[nodiscard]] auto BatchSizeOverride() const;
auto BatchSizeOverride(uint32_t value) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions>
{
@@ -1145,8 +1139,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2
{
[[nodiscard]] WINRT_IMPL_AUTO(bool) CloseModelOnSessionCreation() const;
WINRT_IMPL_AUTO(void) CloseModelOnSessionCreation(bool value) const;
[[nodiscard]] auto CloseModelOnSessionCreation() const;
auto CloseModelOnSessionCreation(bool value) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2>
{
@@ -1155,7 +1149,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3
{
WINRT_IMPL_AUTO(void) OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const;
auto OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3>
{
@@ -1164,14 +1158,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelStatics
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) LoadFromFilePath(param::hstring const& filePath) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) LoadFromFilePath(param::hstring const& filePath, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const;
auto LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const;
auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const;
auto LoadFromFilePath(param::hstring const& filePath) const;
auto LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const;
auto LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const;
auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const;
auto LoadFromFilePath(param::hstring const& filePath, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const;
auto LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelStatics>
{
@@ -1180,8 +1174,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_IMapFeatureDescriptor
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) KeyKind() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor) ValueDescriptor() const;
[[nodiscard]] auto KeyKind() const;
[[nodiscard]] auto ValueDescriptor() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::IMapFeatureDescriptor>
{
@@ -1190,7 +1184,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ISequenceFeatureDescriptor
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor) ElementDescriptor() const;
[[nodiscard]] auto ElementDescriptor() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ISequenceFeatureDescriptor>
{
@@ -1199,8 +1193,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensor
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) TensorKind() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int64_t>) Shape() const;
[[nodiscard]] auto TensorKind() const;
[[nodiscard]] auto Shape() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensor>
{
@@ -1209,7 +1203,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorBoolean
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<bool>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorBoolean>
{
@@ -1218,10 +1212,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorBooleanStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromArray(param::iterable<int64_t> const& shape, array_view<bool const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<bool> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<bool const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<bool> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorBooleanStatics>
{
@@ -1230,8 +1224,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorBooleanStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<bool const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<bool const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorBooleanStatics2>
{
@@ -1240,7 +1234,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorDouble
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<double>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorDouble>
{
@@ -1249,10 +1243,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorDoubleStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromArray(param::iterable<int64_t> const& shape, array_view<double const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<double> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<double const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<double> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorDoubleStatics>
{
@@ -1261,8 +1255,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorDoubleStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<double const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<double const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorDoubleStatics2>
{
@@ -1271,8 +1265,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) TensorKind() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int64_t>) Shape() const;
[[nodiscard]] auto TensorKind() const;
[[nodiscard]] auto Shape() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFeatureDescriptor>
{
@@ -1281,7 +1275,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorFloat
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<float>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloat>
{
@@ -1290,7 +1284,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorFloat16Bit
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<float>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloat16Bit>
{
@@ -1299,10 +1293,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics>
{
@@ -1311,8 +1305,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics2>
{
@@ -1321,10 +1315,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorFloatStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloatStatics>
{
@@ -1333,8 +1327,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorFloatStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloatStatics2>
{
@@ -1343,7 +1337,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt16Bit
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int16_t>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt16Bit>
{
@@ -1352,10 +1346,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt16BitStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<int16_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int16_t> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<int16_t const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int16_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics>
{
@@ -1364,8 +1358,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int16_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int16_t const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics2>
{
@@ -1374,7 +1368,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt32Bit
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int32_t>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt32Bit>
{
@@ -1383,10 +1377,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt32BitStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<int32_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int32_t> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<int32_t const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int32_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics>
{
@@ -1395,8 +1389,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int32_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int32_t const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics2>
{
@@ -1405,7 +1399,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt64Bit
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int64_t>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt64Bit>
{
@@ -1414,10 +1408,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt64BitStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<int64_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int64_t> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<int64_t const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int64_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics>
{
@@ -1426,8 +1420,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int64_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int64_t const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics2>
{
@@ -1436,7 +1430,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt8Bit
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint8_t>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt8Bit>
{
@@ -1445,10 +1439,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt8BitStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics>
{
@@ -1457,8 +1451,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics2>
{
@@ -1467,7 +1461,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorString
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorString>
{
@@ -1476,10 +1470,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorStringStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) CreateFromArray(param::iterable<int64_t> const& shape, array_view<hstring const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<hstring> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<hstring const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<hstring> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorStringStatics>
{
@@ -1488,7 +1482,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorStringStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<hstring const> data) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<hstring const> data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorStringStatics2>
{
@@ -1497,7 +1491,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt16Bit
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint16_t>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt16Bit>
{
@@ -1506,10 +1500,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint16_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint16_t> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint16_t const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint16_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics>
{
@@ -1518,8 +1512,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint16_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint16_t const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics2>
{
@@ -1528,7 +1522,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt32Bit
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt32Bit>
{
@@ -1537,10 +1531,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint32_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint32_t> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint32_t const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint32_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics>
{
@@ -1549,8 +1543,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint32_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint32_t const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics2>
{
@@ -1559,7 +1553,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt64Bit
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint64_t>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt64Bit>
{
@@ -1568,10 +1562,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint64_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint64_t> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint64_t const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint64_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics>
{
@@ -1580,8 +1574,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint64_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint64_t const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics2>
{
@@ -1590,7 +1584,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt8Bit
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint8_t>) GetAsVectorView() const;
auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt8Bit>
{
@@ -1599,10 +1593,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) Create() const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) Create(param::iterable<int64_t> const& shape) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const;
auto Create() const;
auto Create(param::iterable<int64_t> const& shape) const;
auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const;
auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics>
{
@@ -1611,8 +1605,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const;
WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const;
auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics2>
{