Share via


TensorInt64Bit.CreateFromArray(IIterable<Int64>, Int64[]) メソッド

定義

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

public:
 static TensorInt64Bit ^ CreateFromArray(IIterable<long long> ^ shape, Platform::Array <long long> ^ data);
 static TensorInt64Bit CreateFromArray(IIterable<long> const& shape, winrt::array_view <long> const& data);
public static TensorInt64Bit CreateFromArray(IEnumerable<long> shape, long[] data);
function createFromArray(shape, data)
Public Shared Function CreateFromArray (shape As IEnumerable(Of Long), data As Long()) As TensorInt64Bit

パラメーター

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

バッファーのサイズ。

data

Int64[]

long long[]

long[]

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

戻り値

指定されたデータを含むバッファーを持つ 64 ビット符号付き整数テンソル オブジェクト。

注釈

Windows Server

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

スレッド セーフ

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

適用対象