次の方法で共有


TensorBoolean.Create メソッド

定義

オーバーロード

Create()

バッファーを割り当てずにブール型テンソル オブジェクトを作成します。

Create(IIterable<Int64>)

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

Create()

バッファーを割り当てずにブール型テンソル オブジェクトを作成します。

public:
 static TensorBoolean ^ Create();
/// [Windows.Foundation.Metadata.Overload("Create")]
 static TensorBoolean Create();
[Windows.Foundation.Metadata.Overload("Create")]
public static TensorBoolean Create();
function create()
Public Shared Function Create () As TensorBoolean

戻り値

ブール型のテンソル オブジェクト。

属性

注釈

Windows Server

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

スレッド セーフ

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

適用対象

Create(IIterable<Int64>)

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

public:
 static TensorBoolean ^ Create(IIterable<long long> ^ shape);
/// [Windows.Foundation.Metadata.Overload("Create2")]
 static TensorBoolean Create(IIterable<long> const& shape);
[Windows.Foundation.Metadata.Overload("Create2")]
public static TensorBoolean Create(IEnumerable<long> shape);
function create(shape)
Public Shared Function Create (shape As IEnumerable(Of Long)) As TensorBoolean

パラメーター

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

バッファーのサイズ。

戻り値

指定したサイズのバッファーを持つブール型テンソル オブジェクト。

属性

注釈

Windows Server

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

スレッド セーフ

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

適用対象