TensorProcessor

パブリック クラス TensorProcessor

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

使用例:

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

ネストされたクラス

クラス TensorProcessor.Builder 後で実行可能な TensorProcessor を作成するためのビルダー。

継承されるメソッド