tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/support/common/TensorProcessor.Builder.html
public static class TensorProcessor.Builder
The Builder to create an TensorProcessor, which could be executed later.
| |
Builder()
Creates a Builder to build TensorProcessor.
|
| Builder<TensorBuffer> |
add(Operator<T> op)
|
| TensorProcessor.Builder |
add(TensorOperator op)
Adds an TensorOperator into the Operator chain.
|
| TensorProcessor |
build()
Completes the building process and gets the TensorProcessor instance.
|
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() |
Creates a Builder to build TensorProcessor.
to add an Op.to complete the building process and get a built Processor. | op | |
Adds an TensorOperator into the Operator chain.
| op | the Operator instance to be executed then. |
Completes the building process and gets the TensorProcessor instance.