function stringToHashBucketFast_(input, numBuckets) {
    const $input = (0, _tensorUtilEnv.convertToTensor)(input, "input", "stringToHashBucketFast", "string");
    const attrs = {
        numBuckets
    };
    if (numBuckets <= 0) throw new Error(`Number of buckets must be at least 1`);
    const inputs = {
        input: $input
    };
    return (0, _engine.ENGINE).runKernel((0, _kernelNames.StringToHashBucketFast), inputs, attrs);
}
Converts each string in the input Tensor to its hash mod by a number of
buckets.

The hash function is deterministic on the content of the string within the
process and will never change. However, it is not suitable for cryptography.
This function may be used when CPU time is scarce and inputs are trusted or
unimportant. There is a risk of adversaries constructing inputs that all hash
to the same bucket.

```js
const result = tf.string.stringToHashBucketFast(
  ['Hello', 'TensorFlow', '2.x'], 3);
result.print(); // [0, 2, 2]
```
@param input: The strings to assign a hash bucket.
@param numBuckets: The number of buckets.
@return A Tensor of the same shape as the input tensor.

@doc {heading: 'Operations', subheading: 'String'}