public class TensorProcessor

TensorProcessor is a helper class for preprocessing and postprocessing tensors. It could transform a TensorBuffer to another by executing a chain of TensorOperator.

Example Usage:

   TensorProcessor processor = new TensorProcessor.Builder().add(new NormalizeOp(1, 2)).build();
   TensorBuffer anotherTensorBuffer = processor.process(tensorBuffer);

Nested Classes

class TensorProcessor.Builder The Builder to create an TensorProcessor, which could be executed later. 

Inherited Methods