tensorflow:: ops:: Równe
#include <math_ops.h>Zwraca wartość logiczną wyrażenia (x == y) na poszczególnych elementach.
Streszczenie
UWAGA : Equal wspiera nadawanie. Więcej o nadawaniu 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 zakresu
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) |
Atrybuty publiczne | |
|---|---|
operation | |
z | |
Funkcje publiczne | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Publiczne funkcje statyczne | |
|---|---|
IncompatibleShapeError (bool x) | |
Struktury | |
|---|---|
| tensorflow:: ops:: Equal:: Attrs | Opcjonalne settery atrybutów 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::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Publiczne funkcje statyczne
Błąd niezgodności kształtu
Attrs IncompatibleShapeError( bool x )