Tensorflow :: ops :: Schild
#include <math_ops.h>
Gibt eine elementweise Angabe des Vorzeichens einer Zahl zurück.
Zusammenfassung
y = sign(x) = -1
wenn x < 0
; 0 wenn x == 0
; 1 wenn x > 0
.
Für komplexe Zahlen ist y = sign(x) = x / |x|
wenn x != 0
, sonst y = 0
.
Argumente:
- scope: Ein Scope- Objekt
Kehrt zurück:
-
Output
: Der y-Tensor.
Konstruktoren und Destruktoren | |
---|---|
Sign (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
Öffentliche Attribute | |
---|---|
operation | |
y |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche Attribute
Operation
Operation operation
y
::tensorflow::Output y
Öffentliche Funktionen
Schild
Sign( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const