英語で読む

次の方法で共有


TensorUInt16Bit.CreateFromShapeArrayAndDataArray(Int64[], UInt16[]) メソッド

定義

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

public static TensorUInt16Bit CreateFromShapeArrayAndDataArray(long[] shape, ushort[] data);

パラメーター

shape

Int64[]

バッファーのサイズ。

data

UInt16[]

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

戻り値

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

Windows の要件

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

適用対象