Language

TensorFloat.Create メソッド

定義

オーバーロード

Name 説明
Create()

バッファーを割り当てずに 32 ビット浮動小数点テンソル オブジェクトを作成します。

Create(IIterable<Int64>)

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

Create()

バッファーを割り当てずに 32 ビット浮動小数点テンソル オブジェクトを作成します。

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

返品

32 ビット浮動小数点テンソル オブジェクト。

属性

注釈

Windows Server

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

スレッド セーフ

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

適用対象

Create(IIterable<Int64>)

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

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

パラメーター

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable<long long>

IIterable<long>

バッファーのサイズ。

返品

指定されたサイズのバッファーを持つ 32 ビット浮動小数点テンソル オブジェクト。

属性

注釈

Windows Server

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

スレッド セーフ

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

適用対象