TensorProcessor

מחלקה ציבורית TensorProcessor

TensorProcessor הוא מחלקה מסייעת עבור tensors לעיבוד מראש ואחרי עיבוד. הוא יכול להפוך TensorBuffer לאחר על ידי ביצוע שרשרת של TensorOperator.

שימוש לדוגמה:

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

מחלקות מקננות

מחלקה TensorProcessor.Builder ה-builder יכול ליצור TensorProcessor, שאפשר לבצע מאוחר יותר. 

שיטות שעברו בירושה