เทนเซอร์โฟลว์:: ปฏิบัติการ:: เข้าสู่ระบบ
#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
ย
::tensorflow::Output y
งานสาธารณะ
เข้าสู่ระบบ
Sign( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::tensorflow::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const