docstr: Test that the op can reduce a single-dimension tensor to a constant.
docstr_tok: ["Test","that","the","op","can","reduce","a","single-dimension","tensor","to","a","constant","."]
code: def test_feature_bitmask_single_dim_single_tensor(self):
      """Test that the op can reduce a single-dimension tensor to a constant."""
      data = constant_op.constant([True, False])
      result = create_feature_bitmask_op.create_feature_bitmask(data)
  
      expected_result = constant_op.constant(2)
      self.assertAllEqual(expected_result, result)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.platform import test
  from tensorflow_text.python.ops import create_feature_bitmask_op
label_desc: Use image node_id 3 for calling the CreateFeatureBitmaskOpTest obj's underlying member method code with example usage: obj.test_feature_bitmask_single_dim_single_tensor() without return types