Back to Tensorflow

SequentialProcessor

tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/support/common/SequentialProcessor.html

2.21.01.8 KB
Original Source

public class SequentialProcessor

| Known Direct Subclasses

ImageProcessor, TensorProcessor

| ImageProcessor | ImageProcessor is a helper class for preprocessing and postprocessing TensorImage. | | TensorProcessor | TensorProcessor is a helper class for preprocessing and postprocessing tensors. |

|

A processor base class that chains a serial of Operator<T> and executes them.

Typically, users could use its subclasses, e.g. ImageProcessor rather than directly use this one.

Public Methods

| T | process(T x) |

Inherited Methods

From class java.lang.Object

| boolean | equals(Object arg0) | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

From interface org.tensorflow.lite.support.common.Processor

| abstract T | process(T input) |

Public Methods

public T process (T x)

Parameters

| x | |