getTensorBuffer method

TensorBuffer getTensorBuffer()

Returns the underlying TensorBuffer representation for this TensorImage

Important: It's only a reference. DO NOT MODIFY. We don't create a copy here for performance concern, but if modification is necessary, please make a copy.

Throws ArgumentError if this TensorImage never loads data.

Implementation

TensorBuffer getTensorBuffer() => tensorBuffer;