Share via


TensorUInt64Bit.CreateFromArray(IIterable<Int64>, UInt64[]) Method

Definition

Creates a 64-bit unsigned integer tensor object, allocates a buffer of size shape, and copies all of data into it.

public static TensorUInt64Bit CreateFromArray(IEnumerable<long> shape, ulong[] data);

Parameters

shape

IEnumerable<Int64>

The size of the buffer.

data

UInt64[]

The data to be copied into the buffer.

Returns

A 64-bit unsigned integer tensor object with a buffer containing the given data.

Remarks

Windows Server

To use this API on Windows Server, you must use Windows Server 2019 with Desktop Experience.

Thread safety

This API is thread-safe.

Applies to