tensorflow::ops::Power
#include <math_ops.h>Tính lũy thừa của một giá trị này lên một giá trị khác.
Bản tóm tắt
Cho một tensor x và một tensor y , phép toán này tính toán \(x^y\) đối với các phần tử tương ứng trong x và y . Ví dụ:
# tensor 'x' is [[2, 2]], [3, 3]] # tensor 'y' is [[8, 16], [2, 3]] tf.pow(x, y) ==> [[256, 65536], [9, 27]]
Luận điểm:
- phạm vi: Một đối tượng Phạm vi
Trả về:
-
Output: Tensor z.
Hàm khởi tạo và hàm hủy | |
|---|---|
Pow (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y) |
Thuộc tính công khai | |
|---|---|
operation | |
z | |
Chức năng công cộng | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Thuộc tính công khai
hoạt động
Operation operation
z
::tensorflow::Output z
Chức năng công cộng
Bùm
Pow( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
nút
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const