function log_(x) {
    const $x = (0, _tensorUtilEnv.convertToTensor)(x, "x", "log", "float32");
    const inputs = {
        x: $x
    };
    return (0, _engine.ENGINE).runKernel((0, _kernelNames.Log), inputs);
}
Computes natural logarithm of the input `tf.Tensor` element-wise: `ln(x)`

```js
const x = tf.tensor1d([1, 2, Math.E]);

x.log().print();  // or tf.log(x)
```
@param x The input tensor.

@doc {heading: 'Operations', subheading: 'Basic math'}