tensorflow:: אופס:: FloorMod

#include <math_ops.h>

מחזירה את שארית החלוקה מבחינת הרכיב.

סיכום

כאשר x < 0 x או y < 0 הוא

נכון, זה עוקב אחר סמנטיקה של Python בכך שהתוצאה כאן עולה בקנה אחד עם חלוקת ריצוף. למשל floor(x / y) * y + mod(x, y) = x .

הערה : FloorMod תומך בשידור. עוד על השידור כאן

טיעונים:

  • scope: אובייקט Scope

החזרות:

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

FloorMod (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y)

תכונות ציבוריות

operation
z

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

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

תכונות ציבוריות

מבצע

Operation operation

ז

::tensorflow::Output z

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

FloorMod

 FloorMod(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y
)

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const