aliran tensor:: operasi:: Kurang Sama
#include <math_ops.h>
Mengembalikan nilai kebenaran (x <= y) berdasarkan elemen.
Ringkasan
CATATAN : LessEqual
mendukung penyiaran. Lebih lanjut tentang penyiaran di sini
Contoh:
x = tf.constant([5, 4, 6]) y = tf.constant([5]) tf.math.less_equal(x, y) ==> [True, True, False]
x = tf.constant([5, 4, 6]) y = tf.constant([5, 6, 6]) tf.math.less_equal(x, y) ==> [True, True, True]
Argumen:
- ruang lingkup: Objek Lingkup
Pengembalian:
-
Output
: Tensor z.
Konstruktor dan Destruktor | |
---|---|
LessEqual (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y) |
Atribut publik | |
---|---|
operation | |
z |
Fungsi publik | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Atribut publik
operasi
Operation operation
z
::tensorflow::Output z
Fungsi publik
Kurang Sama
LessEqual( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Masukan
operator::tensorflow::Input() const
operator::tensorflow::Keluaran
operator::tensorflow::Output() const