Optionaldisposean optional callback function that will be called when the tensor is disposed.
If not provided, the tensor treat the GPU data as external resource.
Optionaldownloadan optional callback function to download data from GPU to CPU.
If not provided, the tensor treat the GPU data as external resource.
Describes the data type of the tensor.