function reciprocal_(x) {
    const $x = (0, _tensorUtilEnv.convertToTensor)(x, "x", "reciprocal");
    const inputs = {
        x: $x
    };
    return (0, _engine.ENGINE).runKernel((0, _kernelNames.Reciprocal), inputs);
}
Computes reciprocal of x element-wise: `1 / x`

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

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

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