function sign_(x) {
    const $x = (0, _tensorUtilEnv.convertToTensor)(x, "x", "sign");
    const inputs = {
        x: $x
    };
    return (0, _engine.ENGINE).runKernel((0, _kernelNames.Sign), inputs);
}
Returns an element-wise indication of the sign of a number.

```js
const x = tf.tensor1d([.6, 1.1, -3.3, NaN, 0]);

x.sign().print();  // or tf.sign(x)
```
@param x The input Tensor.

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