tensorflow:: ops:: Greater

#include <math_ops.h>

يُعيد القيمة المنطقية لـ (x > y) عنصرًا بعنصر.

ملخص

ملاحظة : تدعم Greater البث. للمزيد حول البث، انقر هنا.

مثال:

x = tf.constant([5, 4, 6])
y = tf.constant([5, 2, 5])
tf.math.greater(x, y) ==> [False, True, True]

x = tf.constant([5, 4, 6])
y = tf.constant([5])
tf.math.greater(x, y) ==> [False, False, True]

الحجج:

المرتجعات:

البناة والمدمرون

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

الوظائف العامة

أكبر

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

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const