invoke method

void invoke()

Runs this signature.

allocateTensors must have been called before invoking. Use the higher-level run method which handles allocation automatically.

Implementation

void invoke() {
  checkState(!_closed, message: 'SignatureRunner is already closed.');
  checkState(
    _allocated,
    message: 'Tensors not allocated. Call allocateTensors() before invoke().',
  );
  checkTfLiteStatus(
    'TfLiteSignatureRunnerInvoke',
    tfliteBinding.TfLiteSignatureRunnerInvoke(_runner),
  );
}