次の方法で共有


TensorBoolean.CreateFromIterable メソッド

定義

ブール型テンソル オブジェクトを作成し、サイズ 図形のバッファーを割り当て、すべての データ をコピーします。

public:
 static TensorBoolean ^ CreateFromIterable(IIterable<long long> ^ shape, IIterable<bool> ^ data);
 static TensorBoolean CreateFromIterable(IIterable<long> const& shape, IIterable<bool> const& data);
public static TensorBoolean CreateFromIterable(IEnumerable<long> shape, IEnumerable<bool> data);
function createFromIterable(shape, data)
Public Shared Function CreateFromIterable (shape As IEnumerable(Of Long), data As IEnumerable(Of Boolean)) As TensorBoolean

パラメーター

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

バッファーのサイズ。

data

IIterable<Boolean>

IEnumerable<Boolean>

IIterable<bool>

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

戻り値

指定されたデータを含むバッファーを持つブール型テンソル オブジェクト。

注釈

Windows Server

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

スレッド セーフ

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

適用対象