次の方法で共有


TensorUInt32Bit.CreateFromIterable メソッド

定義

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

public:
 static TensorUInt32Bit ^ CreateFromIterable(IIterable<long long> ^ shape, IIterable<unsigned int> ^ data);
 static TensorUInt32Bit CreateFromIterable(IIterable<long> const& shape, IIterable<uint32_t> const& data);
public static TensorUInt32Bit CreateFromIterable(IEnumerable<long> shape, IEnumerable<uint> data);
function createFromIterable(shape, data)
Public Shared Function CreateFromIterable (shape As IEnumerable(Of Long), data As IEnumerable(Of UInteger)) As TensorUInt32Bit

パラメーター

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

バッファーのサイズ。

data

IIterable<UInt32>

IEnumerable<UInt32>

Windows.Foundation.Collections.IIterable

IIterable<uint32_t>

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

戻り値

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

注釈

Windows Server

Windows Server でこの API を使用するには、Windows Server 2019 デスクトップ エクスペリエンスを使用する必要があります。

スレッド セーフ

この API はスレッド セーフです。

適用対象