เทนเซอร์โฟลว์:: ออปส์:: น้อยกว่า
#include <math_ops.h>ส่งคืนค่าความจริงของ (x < y) ทีละองค์ประกอบ
สรุป
หมายเหตุ : Less รองรับการออกอากาศ ดูรายละเอียดเพิ่มเติมเกี่ยวกับการออกอากาศ ได้ที่นี่
ตัวอย่าง:
x = tf.constant([5, 4, 6]) y = tf.constant([5]) tf.math.less(x, y) ==> [False, True, False]
x = tf.constant([5, 4, 6]) y = tf.constant([5, 6, 7]) tf.math.less(x, y) ==> [False, True, True]
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
การส่งคืนสินค้า:
-
Output: เทนเซอร์ z
ตัวสร้างและตัวทำลาย | |
|---|---|
Less (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
z | |
หน้าที่สาธารณะ | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
z
::tensorflow::Output z
หน้าที่สาธารณะ
น้อย
Less( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต
operator::tensorflow::Output() const