英語で読む

次の方法で共有


TensorBoolean.CreateFromShapeArrayAndDataArray(Int64[], Boolean[]) メソッド

定義

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

public static TensorBoolean CreateFromShapeArrayAndDataArray(long[] shape, bool[] data);

パラメーター

shape

Int64[]

バッファーのサイズ。

data

Boolean[]

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

戻り値

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

Windows の要件

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

適用対象

製品 バージョン
WinRT Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100