Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.02 KB

tensoruint32bit_createfrombuffer_43846566.md

File metadata and controls

34 lines (23 loc) · 1.02 KB
-api-id -api-type ms.custom
M:Windows.AI.MachineLearning.TensorUInt32Bit.CreateFromBuffer(System.Int64[],Windows.Storage.Streams.IBuffer)
winrt method
19H1

Windows.AI.MachineLearning.TensorUInt32Bit.CreateFromBuffer

-description

Creates a 32-bit unsigned integer tensor object with the given shape and uses the underlying buffer in buffer for subsequent evaluation.

-parameters

-param shape

The size of the buffer.

-param buffer

The buffer to use during evaluation.

-returns

A 32-bit unsigned integer tensor object backed by a buffer reference to the provided IBuffer buffer.

-remarks

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.

-see-also

-examples