function reverse1d_(x) {
    const $x = (0, _tensorUtilEnv.convertToTensor)(x, "x", "reverse");
    _util.assert($x.rank === 1, ()=>`Error in reverse1D: x must be rank 1 but got rank ${$x.rank}.`);
    return (0, _reverse.reverse)($x, 0);
}
Reverses a `tf.Tensor1D`.

@param x The input tensor.