tensorflow:: ops:: サイン
#include <math_ops.h>数値の符号を要素ごとに返します。
まとめ
y = sign(x) = -1 x < 0の場合)、0 x == 0の場合)、1 x > 0場合)。
複素数の場合、 y = sign(x) = x / |x| x != 0の場合)、それ以外の場合はy = 0 。
議論:
- スコープ:スコープオブジェクト
返品:
-
Output:yテンソル。
コンストラクターとデストラクタ | |
|---|---|
Sign (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
公開属性 | |
|---|---|
operation | |
y | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
公開属性
手術
Operation operation
y
::tensorflow::Output y
公的機能
サイン
Sign( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const