TensorProcessor

パブリック クラス TensorProcessor

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

使用例:

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

ネストされたクラス

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

継承されるメソッド