TensorProcessor

คลาสสาธารณะ TensorProcessor

TensorProcessor คือคลาสตัวช่วยสำหรับ Tensor ก่อนประมวลผลและประมวลผลภายหลัง ซึ่งอาจแปลงTensorBufferเป็นอีกอุปกรณ์หนึ่งด้วยการดำเนินการเชนTensorOperator

ตัวอย่างการใช้งาน:

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

ชั้นเรียนที่ซ้อนกัน

คลาส TensorProcessor.Builder เครื่องมือสร้างให้สร้าง TensorProcessor ซึ่งดำเนินการได้ในภายหลัง

วิธีการที่รับช่วงมา