przepływ tensorowy:: ops:: Równy
#include <math_ops.h>
Zwraca wartość logiczną (x == y) według elementu.
Streszczenie
UWAGA : Equal
obsługuje nadawanie. Więcej o transmisji tutaj
x = tf.constant([2, 4])
y = tf.constant(2)
tf.math.equal(x, y) ==> array([True, False])
x = tf.constant([2, 4])
y = tf.constant([2, 4])
tf.math.equal(x, y) ==> array([True, True])
Argumenty:
- zakres: Obiekt Scope
Zwroty:
-
Output
: tensor z.
Konstruktory i destruktory | |
---|---|
Equal (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y) | |
Equal (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y, const Equal::Attrs & attrs) |
Funkcje publiczne | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Publiczne funkcje statyczne | |
---|---|
IncompatibleShapeError (bool x) |
Struktury | |
---|---|
tensorflow:: ops:: Równe:: Atrybuty | Opcjonalne moduły ustawiające atrybuty dla Equal . |
Atrybuty publiczne
działanie
Operation operation
z
::tensorflow::Output z
Funkcje publiczne
Równy
Equal(
const ::tensorflow::Scope & scope,
::tensorflow::Input x,
::tensorflow::Input y
)
Równy
Equal(
const ::tensorflow::Scope & scope,
::tensorflow::Input x,
::tensorflow::Input y,
const Equal::Attrs & attrs
)
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Wejście
operator::tensorflow::Input() const
operator::tensorflow::Wyjście
operator::tensorflow::Output() const
Publiczne funkcje statyczne
Niekompatybilny błąd kształtu
Attrs IncompatibleShapeError(
bool x
)