תודה שהתכווננת ל-Google I/O. צפה בכל ההפעלות לפי דרישה צפה לפי דרישה

זרימת טנסור :: אופ :: לְדַרבֵּן

#include <math_ops.h>

מחשב את תוצר האלמנטים על פני ממדים של טנסור.

סיכום

מפחית input לאורך המידות הנתונות axis . אלא אם כן keep_dims נכון, דרגת הטנסור פוחתת ב -1 לכל כניסה axis . אם keep_dims נכון, הממדים המופחתים נשמרים לאורך 1.

טענות:

  • היקף: אובייקט Scope
  • קלט: המתח להפחתה.
  • ציר: הממדים שצריך לצמצם. חייב להיות בטווח [-rank(input), rank(input)) .

מאפיינים אופציונליים (ראה Attrs ):

  • keep_dims: אם נכון, שמור על מידות מופחתות לאורך 1.

החזרות:

  • Output : הטנסור המופחת.

כינויים:

  • ReduceProd

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

Prod (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis)
Prod (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const Prod::Attrs & attrs)

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

operation
output

פונקציות ציבוריות

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

פונקציות סטטיות ציבוריות

KeepDims (bool x)

סטרוקטורים

tensorflow :: ops :: Prod :: Attrs

קובעי תכונות אופציונליים עבור Prod .

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

מבצע

Operation operation

תְפוּקָה

::tensorflow::Output output

פונקציות ציבוריות

לְדַרבֵּן

 Prod(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input axis
)

לְדַרבֵּן

 Prod(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input axis,
  const Prod::Attrs & attrs
)

צוֹמֶת

::tensorflow::Node * node() const 

אופרטור :: זרימת טנסור :: קלט

 operator::tensorflow::Input() const 

אופרטור :: זרימת טנסור :: פלט

 operator::tensorflow::Output() const 

פונקציות סטטיות ציבוריות

KeepDims

Attrs KeepDims(
  bool x
)