-api-id | -api-type | ms.custom |
---|---|---|
M:Windows.AI.MachineLearning.TensorBoolean.CreateFromBuffer(System.Int64[],Windows.Storage.Streams.IBuffer) |
winrt method |
19H1 |
Creates a boolean tensor object with the given shape and uses the underlying buffer in data for subsequent evaluation.
The size of the buffer.
The buffer to use during evaluation.
A boolean tensor object backed by a buffer reference to the provided IBuffer data.
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.