Type for representing a buffer data to create a tensor. Buffer usage should
at least support GPUBufferUsage.STORAGE | GPUBufferUsage.COPY_SRC. When
zeroCopy is false or undefined (default), this GPUBuffer will be copied to
the tensor's resource buffer. When zeroCopy is true, tensor will use this
GPUBuffer as tensor's resource buffer, user should not destroy this GPUBuffer
until all access is done. If not specified at creating a tensor, tensor type
is float32.
Type for representing a buffer data to create a tensor. Buffer usage should at least support GPUBufferUsage.STORAGE | GPUBufferUsage.COPY_SRC. When zeroCopy is false or undefined (default), this GPUBuffer will be copied to the tensor's resource buffer. When zeroCopy is true, tensor will use this GPUBuffer as tensor's resource buffer, user should not destroy this GPUBuffer until all access is done. If not specified at creating a tensor, tensor type is float32.