Tensorflow :: ops :: Pow
#include <math_ops.h>
Berechnet die Potenz eines Wertes zu einem anderen.
Zusammenfassung
Bei gegebenem Tensor x
und Tensor y
berechnet diese Operation \(x^y\) für entsprechende Elemente in x
und y
. Beispielsweise:
# tensor 'x' is [[2, 2]], [3, 3]] # tensor 'y' is [[8, 16], [2, 3]] tf.pow(x, y) ==> [[256, 65536], [9, 27]]
Argumente:
- scope: Ein Scope- Objekt
Kehrt zurück:
-
Output
: Der z-Tensor.
Konstruktoren und Destruktoren | |
---|---|
Pow (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y) |
Öffentliche Attribute | |
---|---|
operation | |
z |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche Attribute
Operation
Operation operation
z
::tensorflow::Output z
Öffentliche Funktionen
Pow
Pow( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const