-api-id | -api-type |
---|---|
M:Windows.AI.MachineLearning.TensorInt16Bit.CreateFromArray(Windows.Foundation.Collections.IIterable{System.Int64},System.Int16[]) |
winrt method |
Creates a 16-bit signed integer tensor object, allocates a buffer of size shape, and copies all of data into it.
The size of the buffer.
The data to copy into the buffer.
A 16-bit signed 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.