次の方法で共有


TensorUInt32Bit.CreateFromShapeArrayAndDataArray(Int64[], UInt32[]) メソッド

定義

32 ビット符号なし整数テンソル オブジェクトを作成し、サイズ図形のバッファーを割り当て、その オブジェクトにすべての データ をコピーします。

public:
 static TensorUInt32Bit ^ CreateFromShapeArrayAndDataArray(Platform::Array <long long> ^ shape, Platform::Array <unsigned int> ^ data);
 static TensorUInt32Bit CreateFromShapeArrayAndDataArray(winrt::array_view <long> const& shape, winrt::array_view <uint32_t> const& data);
public static TensorUInt32Bit CreateFromShapeArrayAndDataArray(long[] shape, uint[] data);
function createFromShapeArrayAndDataArray(shape, data)
Public Shared Function CreateFromShapeArrayAndDataArray (shape As Long(), data As UInteger()) As TensorUInt32Bit

パラメーター

shape

Int64[]

long long[]

long[]

バッファーのサイズ。

data

UInt32[]

unsigned int[]

uint32_t[]

バッファーにコピーするデータ。

戻り値

指定されたデータを含むバッファーを持つ 32 ビット符号なし整数テンソル オブジェクト。

Windows の要件

デバイス ファミリ
Windows 10, version 1903 (10.0.18362.0 で導入)
API contract
Windows.AI.MachineLearning.MachineLearningContract (v2.0 で導入)

適用対象