# Method Pow

#### static member Pow: Tensor<'T> * Tensor<'T> -> Tensor<'T>

Element-wise exponentiation.

##### Declaration

`static member Pow: a:Tensor<'T> * b:Tensor<'T> -> Tensor<'T>`

##### Parameters

Type | Name | Description |
---|---|---|

Tensor<'T> | a | The tensor on the left side of this binary operation. |

Tensor<'T> | b | The tensor on the right side of this binary operation. |

##### Returns

Type | Description |
---|---|

Tensor<'T> | A new tensor containing the result of this operation. |

##### Remarks

Computes the exponentiation of each element of tensor `a`

to the power given by the
corresponding element of tensor `b`

and returns the results as a new tensor.

Do not call this function directly; instead use the F# `**`

operator.

The tensors `a`

and `b`

must have the same type and storage.
Broadcasting rules apply if `a`

and `b`

have different shapes.

##### Examples

```
let a = HostTensor.ofList [5.0; 6.0; 7.0]
let b = HostTensor.ofList [2.0; 3.0; 4.0]
let c = a ** b // c = [25.0; 216.0; 2401.0]
```

##### See Also

#### static member Pow: Tensor<'T> * 'T -> Tensor<'T>

Element-wise exponentiation with scalar.

##### Declaration

`static member Pow: a:Tensor<'T> * b:'T -> Tensor<'T>`

##### Parameters

Type | Name | Description |
---|---|---|

Tensor<'T> | a | The tensor on the left side of this binary operation. |

'T | b | The scalar on the right side of this binary operation. |

##### Returns

Type | Description |
---|---|

Tensor<'T> | A new tensor containing the result of this operation. |

##### See Also

#### static member Pow: 'T * Tensor<'T> -> Tensor<'T>

Element-wise exponentiation with scalar.

##### Declaration

`static member Pow: a:'T * b:Tensor<'T> -> Tensor<'T>`

##### Parameters

Type | Name | Description |
---|---|---|

'T | a | The scalar on the left side of this binary operation. |

Tensor<'T> | b | The tensor on the right side of this binary operation. |

##### Returns

Type | Description |
---|---|

Tensor<'T> | A new tensor containing the result of this operation. |