aliran tensor:: operasi:: Lebih Besar Sama
#include <math_ops.h>
Mengembalikan nilai kebenaran (x >= y) berdasarkan elemen.
Ringkasan
CATATAN : GreaterEqual
mendukung penyiaran. Lebih lanjut tentang penyiaran di sini
Contoh:
x = tf.constant([5, 4, 6, 7]) y = tf.constant([5, 2, 5, 10]) tf.math.greater_equal(x, y) ==> [True, True, True, False]
x = tf.constant([5, 4, 6, 7]) y = tf.constant([5]) tf.math.greater_equal(x, y) ==> [True, False, True, True]
Argumen:
- ruang lingkup: Objek Lingkup
Pengembalian:
-
Output
: Tensor z.
Konstruktor dan Destruktor | |
---|---|
GreaterEqual (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
Lebih Besar Sama
GreaterEqual( 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