Operand

ตัวดำเนินการอินเทอร์เฟ ซสาธารณะ
คลาสย่อยทางอ้อมที่รู้จัก

อินเทอร์เฟซที่ใช้งานโดยตัวถูกดำเนินการของการดำเนินการ TensorFlow

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

// The "decodeJpeg" operation can be used as an operand to the "cast" operation
 Operand<UInt8> decodeJpeg = ops.image().decodeJpeg(...);
 ops.math().cast(decodeJpeg, DataType.FLOAT);

 // The output "y" of the "unique" operation can be used as an operand to the "cast" operation
 Output<Integer> y = ops.array().unique(...).y();
 ops.math().cast(y, Float.class);

 // The "split" operation can be used as operand list to the "concat" operation
 Iterable<? extends Operand<Float>> split = ops.array().split(...);
 ops.array().concat(0, split);
 

วิธีการสาธารณะ

เอาท์ พุท นามธรรม <T>
เป็นเอาท์พุต ()
ส่งกลับค่าแฮนเดิลสัญลักษณ์ของเทนเซอร์

วิธีการสาธารณะ

เอาท์พุ นามธรรมสาธารณะ <T> asOutput ()

ส่งกลับค่าแฮนเดิลสัญลักษณ์ของเทนเซอร์

อินพุตสำหรับการดำเนินการ TensorFlow คือเอาต์พุตของการดำเนินการ TensorFlow อื่น วิธีการนี้ใช้เพื่อรับหมายเลขอ้างอิงสัญลักษณ์ที่แสดงถึงการคำนวณอินพุต

ดูสิ่งนี้ด้วย