# Method Log

#### static member Log: Tensor<'T> -> Tensor<'T>

Element-wise natural logarithm.

##### Declaration

`static member Log: a:Tensor<'T> -> Tensor<'T>`

##### Parameters

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

Tensor<'T> | a | The tensor to apply this operation to. |

##### Returns

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

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

##### Remarks

Computes the natural logarithm of each element of the specified tensor and returns them as a new tensor.
Do not call this function directly; instead use the F# `log`

function.

##### Examples

```
let a = HostTensor.ofList [1.0; 2.71828; 4.0]
let b = log a // b = [0.0; 1.0; 1.38529]
```