run method

Future<void> run(
  1. Object input,
  2. Object output
)

Run TensorFlow model for single input and output.

Implementation

Future<void> run(Object input, Object output) {
  var map = <int, Object>{};
  map[0] = output;

  return runForMultipleInputs([input], map);
}