aliran tensor:: operasi:: Lebih sedikit

#include <math_ops.h>

Mengembalikan nilai kebenaran (x < y) berdasarkan elemen.

Ringkasan

CATATAN : Less mendukung penyiaran. Lebih lanjut tentang penyiaran di sini

Contoh:

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]

Argumen:

Pengembalian:

Konstruktor dan Destruktor

Less (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y)

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 sedikit

 Less(
 
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