ExecuTorchProcessor<T, R> class abstract

Abstract base class combining preprocessing and postprocessing

This class provides a complete processing pipeline that handles input preprocessing, model inference, and output postprocessing in a single convenient interface.

Type parameters:

  • T: Input data type (e.g., Uint8List, String, Float32List)
  • R: Result data type (e.g., ClassificationResult, String)

Constructors

ExecuTorchProcessor()

Properties

hashCode → int
The hash code for this object.
no setterinherited
postprocessor → ExecuTorchPostprocessor<R>
The postprocessor for handling output data
no setter
preprocessor → ExecuTorchPreprocessor<T>
The preprocessor for handling input data
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process(T input, ExecuTorchModel model) → Future<R>
Processes input through the complete pipeline
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited