TensorUInt64Bit.CreateFromShapeArrayAndDataArray(Int64[], UInt64[]) 方法

定義

建立 64 位不帶正負號的整數張量物件、配置大小圖形的緩衝區,並將所有資料複製到其中。

public:
 static TensorUInt64Bit ^ CreateFromShapeArrayAndDataArray(Platform::Array <long long> ^ shape, Platform::Array <unsigned long long> ^ data);
 static TensorUInt64Bit CreateFromShapeArrayAndDataArray(winrt::array_view <long> const& shape, winrt::array_view <uint64_t> const& data);
public static TensorUInt64Bit CreateFromShapeArrayAndDataArray(long[] shape, ulong[] data);
function createFromShapeArrayAndDataArray(shape, data)
Public Shared Function CreateFromShapeArrayAndDataArray (shape As Long(), data As ULong()) As TensorUInt64Bit

參數

shape

Int64[]

long long[]

long[]

緩衝區的大小。

data

UInt64[]

unsigned long long[]

uint64_t[]

要複製到緩衝區的資料。

傳回

具有包含指定資料的緩衝區的 64 位不帶正負號的整數 tensor 物件。

Windows 需求

裝置系列
Windows 10, version 1903 (已於 10.0.18362.0 引進)
API contract
Windows.AI.MachineLearning.MachineLearningContract (已於 v2.0 引進)

適用於