OptionalformatDescribes the image height in pixel
Describes the image width in pixel
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 image format represented in RGBA color space.