loadTensorBuffer method
Loads a TensorBuffer containing pixel values. The color layout should be RGB.
Throws ArgumentError if TensorBuffer.shape is not in form (height, width ,channels) or (1, height, width, channels)
Implementation
void loadTensorBuffer(TensorBuffer buffer) {
load(buffer, ColorSpaceType.RGB);
}