allocateTensors method

void allocateTensors()

Updates allocations for all tensors.

Implementation

void allocateTensors() {
  checkState(
    tfliteBinding.TfLiteInterpreterAllocateTensors(_interpreter) ==
        TfLiteStatus.kTfLiteOk,
  );
  _allocated = true;
}