getWidth method

int getWidth()

Gets the image width.

Throws StateError if the TensorImage never loads data. and ArgumentError if the container data is corrupted.

Implementation

int getWidth() => width;