Compute buffers to and from tensors

Currently a texture can be converted to a tensor, and a tensor - back to texture. Do you plan to add similar conversion of tensors from and to compute buffers, as well? This would save unneeded readbacks of computer buffer data to CPU memory (float or int).

1 Like

GPU Tensors are natively using flattened ComputeBuffers, I’d refer you to the sample project/doc
Samples~\Projects\ComputeBuffer
https://docs.unity3d.com/Packages/com.unity.sentis@1.0/manual/access-tensor-data-directly.html

1 Like