ReadonlydimsGet the dimensions of the tensor.
ReadonlylocationSpecify the location of the data to be 'texture'.
ReadonlytextureSpecify the WebGL texture that holds the tensor data.
ReadonlytypeSpecify the data type of the tensor.
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.
represent the parameter for constructing a tensor from a WebGL texture