tensorflow:: אופס:: טביעה
#include <math_ops.h>
מחזירה מספר שלם מבחינת האלמנט הקרוב ביותר ל-x.
תַקצִיר
אם התוצאה נמצאת באמצע הדרך בין שני ערכים שניתנים לייצוג, ייצוג הזוגי נבחר. לְדוּגמָה:
rint(-1.5) ==> -2.0 rint(0.5000001) ==> 1.0 rint([-1.7, -1.5, -0.2, 0.2, 1.5, 1.7, 2.0]) ==> [-2., -2., -0., 0., 2., 2., 2.]
טיעונים:
- scope: אובייקט Scope
החזרות:
-
Output
: הטנסור y.
בנאים והורסים | |
---|---|
Rint (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
תכונות ציבוריות
מִבצָע
Operation operation
y
::tensorflow::Output y
תפקידים ציבוריים
טביעה
Rint( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const