次の方法で共有


TensorInt16Bit.Create メソッド

定義

オーバーロード

Create()

バッファーを割り当てずに、16 ビット符号付き整数テンソル オブジェクトを作成します。

Create(IIterable<Int64>)

16 ビット符号付き整数テンソル オブジェクトを作成し、サイズ 図形のバッファーを割り当てます。

Create()

バッファーを割り当てずに、16 ビット符号付き整数テンソル オブジェクトを作成します。

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

戻り値

16 ビット符号付き整数テンソル オブジェクト。

属性

注釈

Windows Server

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

スレッド セーフ

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

適用対象

Create(IIterable<Int64>)

16 ビット符号付き整数テンソル オブジェクトを作成し、サイズ 図形のバッファーを割り当てます。

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

パラメーター

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

バッファーのサイズ。

戻り値

指定したサイズのバッファーを持つ 16 ビット符号付き整数テンソル オブジェクト。

属性

注釈

Windows Server

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

スレッド セーフ

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

適用対象