-api-id | -api-type | ms.custom |
---|---|---|
M:Windows.AI.MachineLearning.TensorUInt32Bit.CreateFromBuffer(System.Int64[],Windows.Storage.Streams.IBuffer) |
winrt method |
19H1 |
Creates a 32-bit unsigned integer tensor object with the given shape and uses the underlying buffer in buffer for subsequent evaluation.
The size of the buffer.
The buffer to use during evaluation.
A 32-bit unsigned integer tensor object backed by a buffer reference to the provided IBuffer buffer.
No copies are performed during the creation of this object and the underlying buffer in buffer is used directly by the engine.
Copies to video memory are made when running on non-CPU devices.