# tensorflow::ops::Pow Class Reference

# tensorflow::
ops::
Pow

`
#include <math_ops.h>
`


Computes the power of one value to another.

## Summary


Given a tensor
`
x
`
and a tensor
`
y
`
, this operation computes \\(x\^y\\) for corresponding elements in
`
x
`
and
`
y
`
. For example:


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

<br />


Args:

- scope: A [Scope](https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object

<br />


Returns:

- `
  https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output
  ` : The z tensor.

<br />

| ### Constructors and Destructors ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/pow#classtensorflow_1_1ops_1_1_pow_1aca0c4d8d950913503421c22ff3141a2c (const :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input x, :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input y) ` ||

| ### Public attributes ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/pow#classtensorflow_1_1ops_1_1_pow_1a7cf450a69c0c08d103b161e9363f7e7a ` | ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation ` |
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/pow#classtensorflow_1_1ops_1_1_pow_1aa4df670ff306b3b060f6214659131a3e ` | ` :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output ` |

| ### Public functions ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/pow#classtensorflow_1_1ops_1_1_pow_1aebdbfbf181ed695203bc0f67e0e98daa () const ` | ` ::tensorflow::Node * ` |
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/pow#classtensorflow_1_1ops_1_1_pow_1aad45efe34ec9d129f73b5df4715efdce () const ` | ` ` |
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/pow#classtensorflow_1_1ops_1_1_pow_1ab3d1c9b6cda9074b95ded97ba401948d () const ` | ` ` |

## Public attributes

### operation

```
Operation operation
```

### z

```
::tensorflow::Output z
```

## Public functions

### Pow

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

### node

```
::tensorflow::Node * node() const 
```

### operator::tensorflow::Input

```
 operator::tensorflow::Input() const 
```

### operator::tensorflow::Output

```
 operator::tensorflow::Output() const 
```