function elu_(x) {
    const $x = (0, _tensorUtilEnv.convertToTensor)(x, "x", "elu", "float32");
    const inputs = {
        x: $x
    };
    return (0, _engine.ENGINE).runKernel((0, _kernelNames.Elu), inputs);
}
Computes exponential linear element-wise: `x > 0 ? x : (e ^ x) - 1`.

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

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

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