TensorUInt64Bit.CreateFromArray(IIterable<Int64>, UInt64[]) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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(IIterable<long long> ^ shape, Platform::Array <unsigned long long> ^ data);
static TensorUInt64Bit CreateFromArray(IIterable<long> const& shape, winrt::array_view <uint64_t> const& data);
public static TensorUInt64Bit CreateFromArray(IEnumerable<long> shape, ulong[] data);
function createFromArray(shape, data)
Public Shared Function CreateFromArray (shape As IEnumerable(Of Long), data As ULong()) As TensorUInt64Bit
- shape
-
Windows.Foundation.Collections.IIterable<long long>
IIterable<long>
The size of the buffer.
- data
-
UInt64[]
unsigned long long[]
uint64_t[]
The data to be copied into the buffer.
A 64-bit unsigned integer tensor object with a buffer containing the given data.
To use this API on Windows Server, you must use Windows Server 2019 with Desktop Experience.
This API is thread-safe.