Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 995 Bytes

tensorboolean_createfrombuffer_43846566.md

File metadata and controls

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

Windows.AI.MachineLearning.TensorBoolean.CreateFromBuffer

-description

Creates a boolean tensor object with the given shape and uses the underlying buffer in data for subsequent evaluation.

-parameters

-param shape

The size of the buffer.

-param buffer

The buffer to use during evaluation.

-returns

A boolean tensor object backed by a buffer reference to the provided IBuffer data.

-remarks

No copies are performed during the creation of this object and the underlying buffer in data is used directly by the engine.

Copies to video memory are made when running on non-CPU devices.

-see-also

-examples