テンソルフロー::作戦::等しい
#include <math_ops.h>(x == y) の真理値を要素ごとに返します。
まとめ
注: Equalブロードキャストをサポートしています。放送について詳しくはこちら
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])
引数:
- スコープ:スコープオブジェクト
戻り値:
-  Output: Z テンソル。
| コンストラクターとデストラクター | |
|---|---|
| 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) | 
| パブリック属性 | |
|---|---|
| operation | |
| z | |
| 公共機能 | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| パブリック静的関数 | |
|---|---|
| IncompatibleShapeError (bool x) | |
| 構造体 | |
|---|---|
| tensorflow:: ops:: Equal:: Attrs | Equalのオプションの属性セッター。 | 
パブリック属性
手術
Operation operation
z
::tensorflow::Output z
公共機能
等しい
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 )
ノード
::tensorflow::Node * node() const
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const
パブリック静的関数
互換性のない形状エラー
Attrs IncompatibleShapeError( bool x )