次の方法で共有


TensorInt8Bit.Create メソッド

定義

オーバーロード

Create()

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

Create(IIterable<Int64>)

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

Create()

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

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

戻り値

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

属性

注釈

Windows Server

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

スレッド セーフ

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

適用対象

Create(IIterable<Int64>)

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

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

パラメーター

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

バッファーのサイズ。

戻り値

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

属性

注釈

Windows Server

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

スレッド セーフ

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

適用対象