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
החזרות:
-
Output
: הטנסור z.
בנאים והורסים | |
---|---|
Pow (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y) |
תפקידים ציבוריים | |
---|---|
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