次の方法で共有


TensorFloat16Bit.Create メソッド

定義

オーバーロード

Create()

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

Create(IIterable<Int64>)

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

Create()

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

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

戻り値

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

属性

注釈

Windows Server

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

スレッド セーフ

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

適用対象

Create(IIterable<Int64>)

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

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

パラメーター

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

バッファーのサイズ。

戻り値

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

属性

注釈

Windows Server

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

スレッド セーフ

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

適用対象