code: def testStringToHashBucketsStrongInvalidKey(self):
      with self.cached_session():
          input_string = constant_op.constant(["a", "b", "c"])
          with self.assertRaisesOpError("Key must have 2 elements"):
              string_ops.string_to_hash_bucket_strong(
                  input_string, 10, key=[98765]
              ).eval()
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/strings_ops/string_to_hash_bucket_op_test.py
imports: from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 7 for calling the StringToHashBucketOpTest obj's underlying member method code with example usage: obj.testStringToHashBucketsStrongInvalidKey() without return types