Readonly dimsReadonly locationSpecify the location of the data to be 'ml-tensor'.
Readonly mlSpecify the WebNN MLTensor that holds the tensor data.
Readonly typeSpecify the data type of the tensor.
Optional disposeOptional downloadan optional callback function to download data from GPU to CPU.
If not provided, the tensor treat the GPU data as external resource.
Generated using TypeDoc
Get the dimensions of the tensor.