Optional
options: TensorToDataUrlOptionsAn optional object representing options for creating a DataURL instance from the tensor.
The following default settings will be applied:
format
: 'RGB'
tensorLayout
: 'NCHW'
a DataURL string representing the image converted from tensor data
creates an ImageData instance from tensor
Optional
options: TensorToImageDataOptionsAn optional object representing options for creating an ImageData instance from the tensor.
The following default settings will be applied:
format
: 'RGB'
tensorLayout
: 'NCHW'
an ImageData instance representing the image converted from tensor data
Generated using TypeDoc
creates a DataURL instance from tensor