tensorflow:: אופס:: פאו

#include <math_ops.h>

מחשב את העוצמה של ערך אחד למשנהו.

סיכום

בהינתן טנסור x וטנזור y , פעולה זו מחשבת את \(x^y\) עבור אלמנטים מתאימים ב- x וב- y . לדוגמה:

# tensor 'x' is [[2, 2]], [3, 3]]
# tensor 'y' is [[8, 16], [2, 3]]
tf.pow(x, y) ==> [[256, 65536], [9, 27]]

טיעונים:

  • scope: אובייקט Scope

החזרות:

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

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

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

פאו

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

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const