Readonly
dimsGet the dimensions of the tensor.
Readonly
locationSpecify the location of the data to be 'texture'.
Readonly
textureSpecify the WebGL texture 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
represent the parameter for constructing a tensor from a WebGL texture