TensorImage constructor

TensorImage([
  1. TfLiteType dataType = TfLiteType.uint8
])

Initialize a TensorImage object.

Note: For Image with float value pixels use TensorImage(TfLiteType.float)

Implementation

TensorImage([TfLiteType dataType = TfLiteType.uint8])
    : _tfLiteType = dataType;