TensorProcessor

כיתה ציבורית TensorProcessor

TensorProcessor היא מחלקה משנית (מסייעת) לקנזטורים לפני עיבוד מראש ועיבוד לאחר מכן. ייתכן הופכים TensorBuffer לאחר על ידי ביצוע שרשרת של TensorOperator.

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

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

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

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

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