function leakyRelu_(x, alpha = 0.2) {
    const $x = (0, _tensorUtilEnv.convertToTensor)(x, "x", "leakyRelu");
    const inputs = {
        x: $x
    };
    const attrs = {
        alpha
    };
    return (0, _engine.ENGINE).runKernel((0, _kernelNames.LeakyRelu), inputs, attrs);
}
Computes leaky rectified linear element-wise.

See
[http://web.stanford.edu/~awni/papers/relu_hybrid_icml2013_final.pdf](
    http://web.stanford.edu/~awni/papers/relu_hybrid_icml2013_final.pdf)

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

x.leakyRelu(0.1).print();  // or tf.leakyRelu(x, 0.1)
```
@param x The input tensor.
@param alpha The scaling factor for negative values, defaults to 0.2.

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