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

החזרות:

בנאים והורסים

Rint (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

תפקידים ציבוריים

טביעה

 Rint(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

צוֹמֶת

::tensorflow::Node * node() const 

מפעיל::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const