TensorFloat16Bit.CreateFromIterable メソッド

定義

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

public:
 static TensorFloat16Bit ^ CreateFromIterable(IIterable<long long> ^ shape, IIterable<float> ^ data);
 static TensorFloat16Bit CreateFromIterable(IIterable<long> const& shape, IIterable<float> const& data);
public static TensorFloat16Bit CreateFromIterable(IEnumerable<long> shape, IEnumerable<float> data);
function createFromIterable(shape, data)
Public Shared Function CreateFromIterable (shape As IEnumerable(Of Long), data As IEnumerable(Of Single)) As TensorFloat16Bit

パラメーター

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

バッファーのサイズ。

data

IIterable<Single>

IEnumerable<Single>

IIterable<float>

バッファーにコピーするデータ。

戻り値

指定されたデータを含むバッファーを持つ 16 ビット浮動小数点テンソル オブジェクト。

注釈

Windows Server

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

スレッド セーフ

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

適用対象