tensorflow :: ops :: İşaret
#include <math_ops.h>
Bir sayının işaretinin eleman bazında gösterimini verir.
Özet
y = sign(x) = -1
ise x < 0
; 0 eğer x == 0
; 1 eğer x > 0
.
Karmaşık sayılar için, y = sign(x) = x / |x|
x != 0
, aksi takdirde y = 0
.
Argümanlar:
- kapsam: Bir Scope nesnesi
İadeler:
-
Output
: y tensörü.
Yapıcılar ve Yıkıcılar | |
---|---|
Sign (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
Genel özellikler | |
---|---|
operation | |
y |
Kamusal işlevler | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Genel özellikler
operasyon
Operation operation
y
::tensorflow::Output y
Kamusal işlevler
İşaret
Sign( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
düğüm
::tensorflow::Node * node() const
operator :: tensorflow :: Girdi
operator::tensorflow::Input() const
operator :: tensorflow :: Çıktı
operator::tensorflow::Output() const