TensorProcessor

パブリック クラスTensorProcessor

TensorProcessor は、テンソルの前処理および後処理のためのヘルパー クラスです。 TensorOperatorのチェーンを実行することで、 TensorBufferを別の TensorBuffer に変換できます。

使用例:

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

ネストされたクラス

クラスTensorProcessor.Builder後で実行できるTensorProcessorを作成するための Builder。

継承されたメソッド